← All projects
Internal Tools2024 – 2025·Full Stack Developer

HR Management System

An ERP and HR platform for an agency: attendance, payroll, clients, invoicing, quotations, projects, and an AI-assisted support desk.

Outcome
50+data models across HR, finance and CRM

The problem

WebBriks ran HR, finance, sales, and client delivery across spreadsheets and disconnected tools. There was no single system for attendance, payroll, invoicing, leads, or client support, and no shared source of truth across teams.

The approach

Built a monorepo platform with a shared Express and MongoDB backend serving several Next.js apps (auth, dashboard, support, public site). Modeled the business as roughly fifty Mongoose collections exposed through role-scoped REST routes, with real-time updates over Socket.io.

Architecture

Express and TypeScript API with Mongoose over MongoDB. Better Auth and JWT for authentication, Redis with BullMQ for background jobs, a transactional outbox collection for reliable payment events, AWS S3 (presigned uploads) and Cloudinary for files, Stripe and PayPal for billing, Puppeteer and react-pdf for documents, and Sentry plus pino for monitoring. Frontends are Next.js App Router apps using Redux Toolkit (RTK Query).

Key features

  • Attendance with shift assignments, shift-off dates, and event-level logs
  • Payroll with salary history, adjustments, bank settings, and month locking
  • Leave applications and balances, notices, and company policies
  • Client, service, order, invoice, and quotation management with PDF export
  • Profit distribution and transfers across shareholders, plus expense and wallet ledgers
  • Leads, lead activity, meetings, and consultations
  • Stripe and PayPal billing with a transactional outbox for reliable payment events
  • AI chat (Google Gemini) and a live support desk with tickets and real-time messaging
  • Excel and CSV import and export, audit logs, and email notifications

Tech stack

Next.jsTypeScriptNode.jsExpressMongoDBMongooseBetter AuthSocket.ioRedisBullMQAWS S3CloudinaryStripePayPalGoogle GeminiRedux ToolkitSentryTailwind CSS

The result

One platform replaced the spreadsheet workflows for HR, payroll, finance, sales, and client support, with real-time updates and role-based access across internal teams.

Let's talk

Let's build
SOMETHING REAL.

Have a system that needs to think, scale, or just finally get shipped? Let's make it happen.

Based in Dhaka, Bangladesh · Available worldwide