- Install python 3.7 & pipenv
pipenv install
to install project's requirements
pipenv shell
to enter virtual environment (loading the variables in .env)flask run
Database is running on SQLite, it can be browsed using "DB Browser for SQLite" for instance
- Connect to La Poste API (https://developer.laposte.fr/)
- Create an endpoint that fetch the status of a given letter on the La Poste API, and update it in the database
- Create an endpoint that fetch the status of all letters on the La Poste API, and update it in the database
- Make previous endpoint respond instantly, and launch an asynchronous task that update all the status
There is no need to do a front interface, you can just share a Postman collection to test it.
- Unit, integration, E2E tests
- Store the status history of each letter in a new table
- Impress us