Back to all projects
Full-Stack & Cloud 2026
HRMS — Cloud-Native Workplace Management Platform
A serverless enterprise employee & workspace management system featuring Amazon Bedrock AI assistant, Amplify Gen 2, DynamoDB, and Cognito.
Next.js TypeScript AWS Amplify Gen 2 Amazon Bedrock DynamoDB Cognito GraphQL
Project Overview
HRMS (Human Resource Management System) is a cloud-native web application designed to streamline enterprise workforce administration, employee directory tracking, attendance analytics, and role-based permissions with an integrated AI assistant.
Problem Statement
Traditional HR administration relies on fragmented spreadsheets, manual attendance logging, and disconnected reporting tools—resulting in data discrepancies, high operational overhead, lack of real-time workforce visibility, and slow manager decision-making.
Project Goals
- Centralized Enterprise Portal: A unified dashboard serving Administrators, Department Managers, and Employees with tailored views.
- AI-Powered Workforce Assistance: Integrated Amazon Bedrock AI chatbot capable of answering policy questions and executing action group queries.
- Granular Access Control: Role-based access control (RBAC) with user pool authorization powered by Amazon Cognito.
- Serverless Cloud Infrastructure: Scalable data persistence and real-time GraphQL APIs using AWS Amplify Gen 2 and Amazon DynamoDB.
- Real-Time Analytics & Reporting: Interactive worklog indicators, visual attendance trends, and automated PDF report generation.
System Architecture
The platform uses a modern, serverless cloud architecture built on AWS infrastructure:
- Frontend: Next.js App Router with React Server Components, TypeScript, and Tailwind CSS.
- AI & Automation: Amazon Bedrock Agent with custom Action Groups for natural language queries and automated reporting.
- Backend & API: AWS Amplify Gen 2 with AWS AppSync GraphQL endpoints for type-safe real-time queries and mutations.
- Database & Auth: Amazon DynamoDB single-table schema paired with Amazon Cognito User Pools for fine-grained JWT authentication.
- Integrations & Cloud Services: AWS S3 for file management, Amazon SES for transactional email notifications, Amazon SQS for asynchronous background tasks, and Google Calendar API via OAuth.
Key Features
- AI-Driven HR Assistant: Amazon Bedrock chatbot with custom Action Groups capable of summarizing monthly task completions, attendance records, and department worklogs.
- Role-Based View Switching: Admin toggle enabling superusers to preview employee-facing dashboards without context leakage.
- Automated Attendance Analytics: Weekly and monthly worklog tracking with visual Chart.js graphs and FullCalendar scheduling.
- Smart ID Generator: Custom
useSmartIdalgorithm tailored for enterprise workforce identification. - Google Calendar & Email Alerts: Seamless event sync and automated AWS SES notification delivery.
- Exportable PDF Reports: On-demand document rendering using jsPDF and custom table formatting.
Challenges & Solutions
Context-Isolated Role Switching
- Challenge: Allowing administrative users to inspect and preview employee portal workflows without invalidating session tokens or exposing superuser privileges to general scopes.
- Solution: Developed a scoped
ViewModeContextprovider with client-side query filtering and isolated state handlers.
Action Group Query Aggregation for AI Chatbot
- Challenge: Enabling the Amazon Bedrock chatbot to process company-wide and departmental analytics requests without requiring fixed parameters like
employeeId. - Solution: Extended OpenAPI schemas for Bedrock Action Groups and built flexible Lambda handlers supporting optional parameters with server-side aggregations.
Lessons Learned
- Building type-safe serverless backend infrastructure using AWS Amplify Gen 2.
- Integrating LLM Agents (Amazon Bedrock) with OpenAPI action groups into enterprise dashboards.
- Architecting robust role-based access control (RBAC) across Next.js App Router boundaries.