example-of-crud-in-django-w.../README.md
Andros Fenollosa 70727c8afc Fix postgres
2021-07-15 16:00:37 +02:00

44 lines
495 B
Markdown

# Example of CRUD in Django with REST FRAMEWORK
All endpoints contain your test.
## Live Demo
https://example-of-crud-in-django-jrf.herokuapp.com/
### Get list
### Get Detail
### Create
### Update
### Delete
## Install
``` bash
python3 -m venv venv
source venv/bin/activate
pip3 install -r requirements.txt
python3 manage.py migrate
```
## Run
``` bash
python3 manage.py runserver
```
## Fake data
``` bash
python3 manage.py runscript create_books
```
## Test
``` bash
pytest
```