SaaS · Case Study

Enterprise HR Management SaaS

Streamlining employee data and HR processes

Engineered a comprehensive HR management SaaS platform, focusing on core functionalities like employee records, leave management, and payroll. A key initiative involved migrating the database from MongoDB to PostgreSQL, significantly improving query performance and data integrity.

Enterprise HR Management SaaS — Streamlining employee data and HR processes (Human Resources Management case study by Smit Parekh)
Enterprise HR Management SaaSStreamlining employee data and HR processes. Engineered a comprehensive HR management SaaS platform, focusing on core functionalities like employee records, leave management, and payroll. A key initiative involved migrating the database from MongoDB to PostgreSQL, significantly improving query performance and data integrity.

Role

Full Stack Engineer

Industry

Human Resources Management

Year

2023

Duration

8 months

At a Glance

MongoDB to PostgreSQL

Database Migration

65% Faster Queries

Performance Gain

Granular RBAC

Access Control

Set-based SQL

Reporting

The Problem

What needed solving

The existing HR platform suffered from performance issues due to its NoSQL database, hindering complex reporting. Additionally, the lack of a robust role-based access control system limited security and user experience customization.

The Approach

How I built it

  • Migrated database from MongoDB to PostgreSQL to improve query performance and data integrity.

  • Developed a granular Role-Based Access Control (RBAC) system for HR Managers, Employees, and Admins.

  • Implemented set-based SQL reporting to replace inefficient in-memory aggregations.

  • Built core HR functionalities including leave management and payroll processing.

  • Utilized TypeScript for enhanced backend and frontend code quality.

Tech Stack

Tools used on this project

Frontend

ReactReduxTypeScript

Backend

Node.jsExpressTypeScript

Database

PostgreSQLMongoDB (legacy)

Outcomes

Results that matter

Query Performance Improvement

65%

Achieved via MongoDB to PostgreSQL migration and SQL optimization.

Reporting Efficiency

Significant

Enabled by set-based SQL reports replacing in-memory aggregation.

Security Enhancements

High

Through comprehensive RBAC implementation across user roles.

Lessons

What I took away

  • Database migration requires meticulous planning and validation.
  • RBAC is fundamental for secure and user-friendly enterprise applications.
  • Relational databases excel at structured data reporting and complex queries.
  • TypeScript significantly enhances maintainability and reduces bugs in large codebases.

Have a similar project in mind?

I'm available for full-stack engagements - React, Next.js, Node.js, PostgreSQL, AWS. Let's talk through what you're building.