A distributed system designed to manage employee check-ins and check-outs with a focus on high performance and security.
Microservices Architecture: Decoupled services for Authentication and Attendance tracking. Stateless Security: Implemented JWT (JSON Web Tokens) for secure, distributed authorization. Polyglot Backend: * Auth Service: Built with Flask for robust identity management. Attendance Service: Built with FastAPI for high-concurrency, asynchronous performance. Cross-Origin Communication: Securely integrated via CORS policies.
Frontend: React (State Management & Hooks) Backend: Python (FastAPI, Flask) Database: SQLite (Relational Storage) DevOps: GitHub Actions (CI/CD Pipeline)
- Clone the repo:
git clone https://github.com/nahorfelix/Distributed-Microservices-System.git - Start Auth Service: -
cd auth-servicepip install -r requirements.txtpython app.py
- Start Attendance Service:
cd attendance-servicepip install -r requirements.txtpython -m uvicorn main:app --port 5002
- View Dashboard: Open
dashboard-ui/index.htmlin your browser.