The User Profile Information Store is a microservice within the Distributed System Backend (DSW Backend). It manages user profiles, preferences, and provides route-related queries.
This service is part of the dsw-backend repository. Follow the main repository's README for instructions on:
- Cloning the repository
- Setting up submodules
- Running the full system with Docker Compose
To run this service independently:
- Navigate to the service directory:
cd user-profile-information-store - Run the service:
mvn spring-boot:run
This service uses Swagger for API documentation. Once the service is running, visit the Swagger UI for detailed API information and testing:
http://<host>:<port>/swagger-ui.html
Environment variables are managed via the .env file in the root of the dsw-backend repository. Ensure all required variables are defined, including:
AUTH0_DOMAINAUTH0_CLIENT_IDAUTH0_CLIENT_SECRET- Database configuration (
DB_HOST,DB_PORT, etc.)
Sensitive files like application.properties are excluded from version control. Use the provided application.example.properties as a reference.
- This service requires an Auth0 configuration for authentication.
- Use the
.envfile for environment-specific settings. - For API usage details, refer to the Swagger UI.