2021-07-14 16:19:03 +02:00
2021-07-14 16:19:03 +02:00
2021-07-14 16:19:03 +02:00
2021-07-14 16:19:03 +02:00
2021-07-05 15:56:53 +02:00
2021-07-14 16:19:03 +02:00
2021-07-14 16:19:03 +02:00
2021-07-13 19:45:27 +02:00
2021-07-12 23:47:31 +02:00

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

Test

pytest
Description
Example of CRUD in Django with REST FRAMEWORK
Readme
Languages
Python 99.3%
Shell 0.4%
Procfile 0.3%