From 184fc5a1a8f1d8d3145f86e64a92fedb05d0e410 Mon Sep 17 00:00:00 2001 From: Andros Fenollosa Date: Tue, 13 Jul 2021 19:44:12 +0200 Subject: [PATCH] Create README.md --- README.md | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..5922d5a --- /dev/null +++ b/README.md @@ -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 +```