In this project, you'll see a simple CRUD using Django REST Framework to create Web APIs. Converting a Model's to JSON format (serialization), rendering data to the view and creating an URL mapping to the views.
- Django REST Framework to create APIs Restful
- Django corsheaders to allow my project to be accessed
- Used Insomnia to test API
To be able to use the project, you need to configurate the following steps:
git clone https://github.com/lauradsc/Django-API-CRUD.git
Initializating the virtual ambience (venv)
python -m venv venv
source env/Scripts/activate
(or env\Scripts\activate
in Windows)
I use VSCODE, so i press the F1 key and type " Python Select Interpreter" and the select the interpreter using venv.