Django_REST_API

A REST api built with Django using their broilerplate that has Create, Read, and Delete functionality.
Docs: https://www.django-rest-framework.org/

Requirements

Django==4.2.7
djangorestframework==3.14.0

Terminall installations:

pip install django
pip install djangorestframework

Django broilerplate installation:

Most of this code was built starting from the Django broiler plate.
To install the broilerplate, type in the terminal:
django-admin startproject myproject

To run the project:

cd myproject
python manage.py runserver

Create / Post:

https://127.0.0.1:8000/add
Go to the add page to add an entry to the database:

Example of JSON format for entry:

Syntax:
{
"name":"Joe"
}

Click "post"

The entry was added:

Read / Get:

https://127.0.0.1:8000

Delete

https://127.0.0.1:8000
Click the delete button:

This button will delete all of the entries from the database: