|
1 | | - |
2 | 1 | # 📊 Admin & Reporting Service |
3 | 2 |
|
| 3 | +## 🚦 Build Status |
| 4 | + |
| 5 | +**main** |
| 6 | + |
4 | 7 | [](https://github.com/TechTorque-2025/Admin_Service/actions/workflows/buildtest.yaml) |
5 | 8 |
|
| 9 | +**dev** |
| 10 | + |
| 11 | +[](https://github.com/TechTorque-2025/Admin_Service/actions/workflows/buildtest.yaml) |
| 12 | + |
6 | 13 | This microservice provides administrative oversight and business intelligence. It acts as an **orchestrator**, securely communicating with other services to aggregate data and perform admin actions. |
7 | 14 |
|
8 | 15 | **Assigned Team:** Randitha, Suweka |
9 | 16 |
|
10 | 17 | ### 🎯 Key Responsibilities |
11 | 18 |
|
12 | | -- **User Management:** (Via API calls to `auth-service`) List, view, and update user accounts and roles. |
13 | | -- **Service Configuration:** Manage the list of available `ServiceTypes`, including their pricing and durations. |
14 | | -- **Reporting & Analytics:** Generate on-demand reports by aggregating data from other services (e.g., revenue reports from `payment-service`). |
| 19 | +- **User Management:** (Via API calls to `auth-service`) List, view, and update user accounts and roles. |
| 20 | +- **Service Configuration:** Manage the list of available `ServiceTypes`, including their pricing and durations. |
| 21 | +- **Reporting & Analytics:** Generate on-demand reports by aggregating data from other services (e.g., revenue reports from `payment-service`). |
15 | 22 |
|
16 | 23 | ### ⚙️ Tech Stack |
17 | 24 |
|
18 | | -- **Framework:** Java / Spring Boot |
19 | | -- **Database:** PostgreSQL |
20 | | -- **Security:** Spring Security (consumes JWTs) |
| 25 | +   |
| 26 | + |
| 27 | +- **Framework:** Java / Spring Boot |
| 28 | +- **Database:** PostgreSQL |
| 29 | +- **Security:** Spring Security (consumes JWTs) |
21 | 30 |
|
22 | 31 | ### ℹ️ API Information |
23 | 32 |
|
24 | | -- **Local Port:** `8087` |
25 | | -- **Swagger UI:** [http://localhost:8087/swagger-ui.html](http://localhost:8087/swagger-ui.html) |
| 33 | +- **Local Port:** `8087` |
| 34 | +- **Swagger UI:** [http://localhost:8087/swagger-ui.html](http://localhost:8087/swagger-ui.html) |
26 | 35 |
|
27 | 36 | ### 🚀 Running Locally |
28 | 37 |
|
29 | 38 | This service is designed to be run as part of the main `docker-compose` setup from the project's root directory. |
30 | 39 |
|
31 | 40 | ```bash |
32 | 41 | # From the root of the TechTorque-2025 project |
33 | | -docker-compose up --build admin-service |
| 42 | +docker-compose up --build admin-service |
| 43 | +``` |
0 commit comments