RESTful API developed as a solution for the challenge proposed by Bravosul company.
- Python
- Flask
- MongoDB
- Docker
- Create a file named
.env
in the root project directory and add these variables on it:
MONGODB_HOST=localhost
SECRET_KEY=YOUR-SECRET-KEY
- Create a virtual environment and install the project dependencies:
python -m venv venv
source /venv/bin/activate
pip install -r requirements.txt
- In the root project directory run the underneath command to start the API and database locally:
make run-api
An example of all available routes is located in the resources/
directory as an Insomnia JSON file.