Simple flask project to manage with the simplest phonebook stored in database.
After project run make the following actions for CRUD:
- Create record
http://127.0.0.1:5000/item/add?name=Name&number=123456789
- Read record
http://127.0.0.1:5000/item/read/<int:pk>
- Update record
http://127.0.0.1:5000/item/update/<int:pk>?name=new_ame&number=123456789
- Delete record
http://127.0.0.1:5000/item/delete/<int:pk>
Make all actions needed for run homework from zero. Including configuration.
make d-homework-i-run
Make all actions needed for stop homework from zero.
make d-homework-i-purge
Install dependencies and register pre-commit.
make init-dev
Configure homework.
make init-configs
Use services in dockers.
Just run
make d-run
Stop services
make d-stop
Purge all data related with services
make d-purge