Create README.md
This commit is contained in:
parent
5aca9b9725
commit
184fc5a1a8
26
README.md
Normal file
26
README.md
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
# 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
|
||||||
|
|
||||||
|
``` bash
|
||||||
|
python3 -m venv venv
|
||||||
|
source venv/bin/activate
|
||||||
|
pip3 install -r requirements.txt
|
||||||
|
python3 manage.py migrate
|
||||||
|
```
|
||||||
|
|
||||||
|
## Run
|
||||||
|
|
||||||
|
``` bash
|
||||||
|
python3 manage.py runserver
|
||||||
|
```
|
Loading…
Reference in New Issue
Block a user