example-of-crud-in-django-w.../README.md
2021-07-13 19:44:12 +02:00

379 B

Example of CRUD in Django with REST FRAMEWORK

All endpoints contain your test.

Endpoints

  • /api/books GET _ /api/books POST
  • /api/books/:pk GET
  • /api/books/:pk DELETE
  • /api/books/:pk PUT

Install

python3 -m venv venv
source venv/bin/activate
pip3 install -r requirements.txt
python3 manage.py migrate

Run

python3 manage.py runserver