bharathjinka09 / django-rest-framework-api

Django Rest Framework API with Swagger docs UI

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Django Rest Framework API

Installation

git clone <repo-url>

python3.8 -m venv venv

source venv/bin/activate

pip install -r requirements.txt

python manage.py migrate

python manage.py createsuperuser

python manage.py runserver

Swagger UI Documentation

http://127.0.0.1:8000/doc/

http://127.0.0.1:8000/redoc/

Glitchtip for error monitoring like sentry

https://glitchtip.com/documentation/install

Endpoints

GET all contacts : http://127.0.0.1:8000/contacts/

GET single contact : http://127.0.0.1:8000/contacts/<id>/

POST : http://127.0.0.1:8000/contacts

PUT : http://127.0.0.1:8000/contacts/<id>/

DELETE : http://127.0.0.1:8000/contacts/<id>/

About

Django Rest Framework API with Swagger docs UI

License:MIT License


Languages

Language:Python 100.0%