GoOutSafe_microservice

:octocat: GoOutSafe a web app (with microservices architecture) that implements some cool features to survive during this covid19 Pandemic. This web app is developed during the Advanced Software Engineering course by the Univerisity of Pisa :computer:

View the Project on GitHub

GoOutSafe with microservices

GitHub Workflow Status Codecov

Table of Content

App Architecture

How clone it

Each microservices is a separate repository that you can clone with the following commands

git clone --recurse-submodules https://github.com/GreyTeam2020/GoOutSafe_microservice.git

Source

The submodules are the microservices with the following proprieties:

How Build and run with Docker

Clone the repository with the command above and run in the root folder the command docker-compose up This will make docker downloads all the file needed and start building the containers. After that, you can browse to http://localhost/ to use the app.

Run test on the host machine

You can’t without docker this time, to run it on the host machine without docker you can run the monolith version available here

Developing

Each programmer has a personal style on write code and we accept this, but to make readability the code from all component of the team, we used a good tool to format the code in automatically.

It is black, and it is installed with the requirements.txt

To format the code you can run the command below after pip3 install -r requirements.txt --user

black monolith

When you see the following line, you are done to push your PR

All done! ✨ 🍰 ✨

Additional information