30 lines
709 B
Plaintext
30 lines
709 B
Plaintext
WAG Management API Microservices Setup
|
|
|
|
1. Authentication Service (Port 8000)
|
|
- User authentication and authorization
|
|
- JWT token management
|
|
- Role-based access control
|
|
- Uses PostgreSQL for user data
|
|
|
|
2. Event Service (Port 8001)
|
|
- Event processing and handling
|
|
- Message queue integration
|
|
- Real-time notifications
|
|
- Uses MongoDB for event storage
|
|
|
|
3. Validation Service (Port 8002)
|
|
- Request validation
|
|
- Data sanitization
|
|
- Schema validation
|
|
- Uses Redis for caching
|
|
|
|
To run the services:
|
|
```bash
|
|
docker compose up --build
|
|
```
|
|
|
|
Access services at:
|
|
- Auth Service: http://localhost:8000
|
|
- Event Service: http://localhost:8001
|
|
- Validation Service: http://localhost:8002
|