The User Service handles authentication, registration, and user profile management for the MovieMate platform.
It exposes a REST API for all user-related operations and features secure JWT-based authentication.
- User Authentication: Secure login and token-based access.
- User Registration: Easy user sign-up and account creation.
- Profile Management: Users can update their personal details.
- Token Validation API: Fast endpoint for checking JWT validity.
- Java 17
- Spring Boot (Security, Data JPA)
- PostgreSQL (user data storage)
- Redis (caching)
- JWT authentication
- Maven (build & dependency management)
Environment variables are defined in .env.example.
- Copy
.env.exampleto.env - Fill in the required values for your local or production setup
- OpenAPI docs:
${context.path}/docs - Swagger UI:
${context.path}/docs/swagger-ui.html
Replace ${context.path} with deployment context (e.g. /api/user).
You can build the Docker image directly with Maven and Spring Boot Buildpacks:
mvn spring-boot:build-image \
-DskipTests \
-Dspring-boot.build-image.image=mm-user-service:latest