Skip to content

YaroslavBordovoy/homework__django__bordovoy_yaroslav

Repository files navigation

Django homework


🔄 install dependencies

Installing required dependencies.

make init-dev

🚀 Run project

Launch of the project.

make homework-i-run

❌ Purge project

Delete all created artifacts from run.

make homework-i-purge

Working with commands

Generates 10 contacts / Generate the requested number of contacts

make generate-contacts
-----------------------
python manage.py generate_contacts --amount NUMBER

Deletes all contacts / Delete items created less than 30 seconds ago

make delete-contacts
---------------------
python manage.py delete_contacts --delete

🦸🏼‍♂️ Superuser

create superuser

make init-dev-i-create-superuser

🦸🏼‍♂️ Docker

make d-homework-i-run

🦸🏼‍♂️ Drf CRUD

/api/contacts/  --- view all contacts (API)
/api/create/   --- create a contact (API)
/api/update/contact_pk   --- update contact (API)
/api/delete/contact_pk   --- delete contact (API)
/api/showcontact_pk   --- view contact (API)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •