This project is to devise, design and develop a service-oriented application that applies technologies and techniques learned during the Service Design and Engineering lectures and laboratories. In particular, it is required to develop a project that consists of multiple services. The idea is an application where the user can search for mountain peaks and alpine refuges to reach and save the result in a personal wishlist. Since the wishlist is private, the user is required to create an account and authenticate to access the application.
Since JSON:API and Swagger are too complex for a project of this scale, this project adopts the JSend specification. For additional information, please visit the official page.
This application is composed of several services that run each one in its own docker container. To run the project, launch the following command from the root project directory.
docker-compose upPlease make sure that your.env file is present in the base directory.
Required variables are specified in the docker-compose.yml file.
To create an admin user, send a POST request to user service endpoint specifying admin: true in the body.
{
"username": "user",
"name": "pretty",
"lastName": "name",
"email": "pretty.name@studenti.unitn.it",
"password": "sde-project-24",
"admin": true
}Testing operation could be done using the postman collection contained in this repository.
