https://github.com/fintech-lsi/auth-service
A robust authentication microservice built with Spring Boot that provides secure user authentication and authorization services for the FinTechPro platform. This service handles user registration, authentication, token management, and role-based access control.
https://github.com/fintech-lsi/auth-service
Last synced: about 1 year ago
JSON representation
A robust authentication microservice built with Spring Boot that provides secure user authentication and authorization services for the FinTechPro platform. This service handles user registration, authentication, token management, and role-based access control.
- Host: GitHub
- URL: https://github.com/fintech-lsi/auth-service
- Owner: Fintech-LSI
- Created: 2024-12-31T16:39:10.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-01-19T23:51:26.000Z (over 1 year ago)
- Last Synced: 2025-03-25T16:36:17.372Z (over 1 year ago)
- Language: Java
- Homepage:
- Size: 523 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ๐ Auth Service
[](https://jenkins-url)
[](http://54.86.47.1:9000)
[](https://hub.docker.com/r/your-repo/auth-service)
[](https://opensource.org/licenses/MIT)
## ๐ Table of Contents
- [Overview](#-overview)
- [Features](#-features)
- [Architecture](#-architecture)
- [Tech Stack](#-tech-stack)
- [Project Structure](#-project-structure)
- [Pipeline](#-pipeline)
- [Getting Started](#-getting-started)
- [API Documentation](#-api-documentation)
- [Configuration](#-configuration)
- [Deployment](#-deployment)
- [Contributing](#-contributing)
- [Team](#-team)
- [License](#-license)
## ๐ฏ Overview
A robust authentication microservice built with Spring Boot that provides secure user authentication and authorization services for the FinTechPro platform. This service handles user registration, authentication, token management, and role-based access control.
## โจ Features
- ๐ **Secure JWT Authentication**
- ๐ฅ **User Management**
- ๐ **Role-Based Access Control**
- ๐ **Token Refresh Mechanism**
- ๐ **User Registration**
- ๐ **Account Validation**
- ๐ก๏ธ **Password Encryption**
- ๐ **Authentication Metrics**
- ๐ซ **Rate Limiting**
- ๐ **Password Reset Flow**
## ๐ Architecture
The auth service follows a clean, layered architecture:
```
Controller Layer โ Service Layer โ Repository Layer โ Database
โ โ โ
DTOs/Models Business Data Access
Logic
```
## ๐ Tech Stack
## ๐ Project Structure
```
src/
โโโ ๐ฑ main/java/com/fintech/auth/
โ โโโ ๐ config/
โ โ โโโ SecurityConfig.java
โ โ โโโ JwtUtil.java
โ โโโ ๐ฎ controller/
โ โ โโโ AuthController.java
โ โโโ ๐ฆ dto/
โ โ โโโ request/
โ โ โโโ response/
โ โโโ ๐ข entity/
โ โโโ ๐ repository/
โ โโโ ๐ง service/
โโโ ๐ main/resources/
โ โโโ application.yml
โโโ ๐งช test/
```
## ๐ Pipeline
Our CI/CD pipeline ensures secure and reliable deployments:

1. ๐ฅ **Code Checkout**: Source code retrieval
2. ๐ **SonarQube Analysis**: Code quality and security checks
3. ๐๏ธ **Maven Build**: Compilation and package creation
4. ๐ณ **Docker Build & Push**: Container image creation and registry upload
5. โธ๏ธ **EKS Deployment**: Kubernetes deployment with proper configurations
## ๐ Getting Started
```bash
# Clone the repository
git clone https://github.com/your-org/auth-service.git
# Navigate to the project directory
cd auth-service
# Build the project
mvn clean install
# Run locally
mvn spring-boot:run
# Run tests
mvn test
# Build Docker image
docker build -t auth-service .
```
## ๐ฅ Team
| Avatar | Name | Role | GitHub |
|---------------------------------------------------------------------------------------------------------|------|------|--------|
|
| Zakariae Azarkan | DevOps Engineer | [@zachary013](https://github.com/zachary013) |
|
| El Mahdi Id Lahcen | Frontend Developer | [@goalaphx](https://github.com/goalaphx) |
|
| Hodaifa | Cloud Architect | [@hodaifa-ech](https://github.com/hodaifa-ech) |
|
| Khalil El Houssine | Backend Developer | [@khalilh2002](https://github.com/khalilh2002) |
|
| Mohamed Amine BAHASSOU | ML Engineer | [@Medamine-Bahassou](https://github.com/Medamine-Bahassou) |
## ๐ License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
---
Built with โค๏ธ by the Fintech Team