Boilerplate that creates a Flask API and runs in docker-compose.
- Docker
To run the project you need to run the following command:
$ docker-compose upThe API will be executed and you will have this available endpoints:
- GET
http://localhost:5001/- Will return a sample json withHello, World!message - GET
http://localhost:5001/api/- Will return a sample json withHello, API!message - GET
http://localhost:5001/api/docs- Provides Swagger UI with all information about available endpoints
This project can be easily deployed into vercel by just importing the repo, no further configuration needed.