- Create virtual environment
python3 -m venv .venv
- Activate environment
. .venv/bin/activate
- Install Flask
pip install Flask
- Seed database
python3 seeding.py
- Run application
flask run --debug
- Summary of endpoints available on
"/"
- Python
- Flask
- SQLite
- Insomnia
- Pytest
-
Learnt Python syntax
-
Created, seeded and connected to a SQLite database
-
Used Flask to create an application to connect to the database
-
Pytest to test util functions
-
Basic error handling
-
Used Insomnia to test endpoint responses
Endpoints available to:
- GET
- PATCH
- POST
- DELETE