Commit Graph

14 Commits

Author SHA1 Message Date
Sathira Sri Sathara 9d3d431416 feat: implement identity and security features
- Added account types and privileged account types constants.
- Created admin user controller for updating user security fields.
- Developed role assignment controller for managing user roles.
- Implemented validation middleware for request schemas.
- Defined user role and auth session models for database interactions.
- Created services for authentication, email notifications, and OTP handling.
- Developed OAuth service for Google and Apple authentication.
- Added JWT utility functions for token generation and verification.
- Implemented comprehensive tests for authentication, session management, and password policies.
- Created migration for updating user schema and adding new tables for auth sessions and user identities.
2026-09-03 13:56:18 +05:30
Sathira Sri Sathara 267e80e2ec feat: stabilize API startup and lifecycle management
- Refactor server initialization to separate concerns and improve error handling.
- Implement centralized environment validation using Zod.
- Introduce database, Redis, and queue lifecycle management.
- Add health check endpoints for liveness and readiness.
- Enhance error handling middleware for better response structure.
- Implement rate limiting for API endpoints.
- Add request ID middleware for traceability.
- Create Sequelize CLI configuration and baseline migration for schema management.
- Establish CI workflow with Gitea for testing and syntax checks.
- Document foundational changes and migration strategy in PHASE_0_FOUNDATION_STABILIZATION.md.
- Add Docker Compose configuration for local development and testing.
- Implement unit and integration tests for critical functionality.
2026-09-03 13:33:26 +05:30
Sathira Sri Sathara 624fce31c5 Merge branch 'auth' of https://github.com/isuru-bimsara/ZUMRI-backend into auth 2026-09-03 13:02:31 +05:30
Sathira Sri Sathara 230962b1d0 Add current backend status documentation 2026-09-03 13:02:24 +05:30
Isuru Bimsara efb054f54d Add change password functionality with validation and email notification 2026-08-21 21:42:19 +05:30
Isuru Bimsara 7766614898 Enhance Authentication API documentation with detailed endpoints and error responses 2026-08-21 15:20:19 +05:30
Isuru Bimsara 5d29a8f78f logout functionality and documentation 2026-08-21 14:37:24 +05:30
Isuru Bimsara 2a35d86ebf Add user profile retrieval function 2026-08-21 11:44:00 +05:30
Isuru Bimsara 6a4fe852e5 Implement password reset and change features with email notifications 2026-08-21 09:56:54 +05:30
Isuru Bimsara b2c5e198a1 add create user and login user parts 2026-08-21 02:20:57 +05:30
Isuru Bimsara 621d348eb1 add the redis 2026-08-20 15:16:17 +05:30
Isuru Bimsara c3d9f899a1 Implement user registration and email verification features 2026-08-17 16:52:44 +05:30
Isuru Bimsara ef8db0988b Implement password validation and update user model roles 2026-08-15 00:24:36 +05:30
Isuru Bimsara 81d0e65686 first commit 2026-08-14 22:46:02 +05:30