Skip to content

da-fedin/flask_crud

Repository files navigation

Flask CRUD application


Main workflow

🏠 Create/Read/Update/Delete

Simple flask project to manage with the simplest phonebook stored in database.

🏠 Usage

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>

🏠 Build

▶️ Run

Make all actions needed for run homework from zero. Including configuration.

make d-homework-i-run

🚮 Purge

Make all actions needed for stop homework from zero.

make d-homework-i-purge

🛠️ Dev

Initialize dev

Install dependencies and register pre-commit.

make init-dev

⚙️ Configure

Configure homework.

make init-configs

🐳 Docker

Use services in dockers.

▶️ Run

Just run

make d-run

⏹️Stop

Stop services

make d-stop

🚮 Purge

Purge all data related with services

make d-purge

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published