CheckList-Api - Created with django rest framework and JWT(Json Web Tokens for Authentication)

Overview

CheckList Api

created with django rest framework and JWT(Json Web Tokens for Authentication)

Description

This API is created with help of Django rest framework and for user authentication , I have used JWT(Json Web Tokens).
Working of API : In this Api user can Checklist just like todolist, but not similar to todoList . In TodoList we can only add todo ,but can't add subitems in todo . But in CheckList API we can create CheckList and add Subitems in created checklist .

Api Features

  • User Authentication by JWT
  • User Authorization(logedin user can only see his/her data.)
  • User Can peforn CURD operation on database in order to retrive his/her data .

Auth system

All the requests made to the API need an Authorization header with a valid token and the prefix Bearer

Authorization: Bearer

In order to obtain a valid token it's necesary to send a request POST /api/login/ with username and password. To register a new user it's necesary to make a request POST /api/register with the params/form data:

username String
password String
password2 String

End Points

Auth

  • POST /api/login/
  • POST /api/register/
  • POST /api/logout/

Endpoints to access CheckList

  • GET /api/checklist/ -- Get all CheckList data
  • POST /api/checklist/ -- Create CheckList data
  • GET /api/checklist/{CheckList_id} -- Get specific CheckList data
  • PUT /api/checklist/{CheckList_id} -- To Update specific CheckList data
  • DELETE /api/checklist/{CheckList_id} -- To Delete specific CheckList data

Endpoints to access CheckList

  • GET /api/checklist/ -- Get all CheckList data
  • POST /api/checklistItem/create/ -- Create CheckListItem data
  • GET /api/checklistItem/{CheckListItem_id} -- Get specific CheckListItem data
  • PUT /api/checklistItem/{CheckListItem_id} -- To Update specific CheckListItem data
  • DELETE /api/checklistItem/{CheckListItem_id} -- To Delete specific CheckListItem data

Documentation

Refer this Documentation Pdf for more details https://github.com/shantanu1905/CheckList-Api/blob/master/CheckListApi.pdf builded with Django REST Swagger

Installation process

Install the system dependencies

  • git
  • pip

Get the code

  • Clone the repository git clone https://github.com/shantanu1905/CheckList-Api.git

Install the project dependencies

pip install -r requirements.txt

Run the command to generate the database

python manage.py migrate

Generate super user

python manage.py createsuperuser

Run the server

python manage.py runserver the application will be running on port 8000 http://0.0.0.0:8000/

Enjoy API

Owner
shantanu nimkar
Python Developer
shantanu nimkar
Social auth made simple

Python Social Auth Python Social Auth is an easy-to-setup social authentication/registration mechanism with support for several frameworks and auth pr

Matías Aguirre 2.8k Dec 24, 2022
Graphical Password Authentication System.

Graphical Password Authentication System. This is used to increase the protection/security of a website. Our system is divided into further 4 layers of protection. Each layer is totally different and

Hassan Shahzad 12 Dec 16, 2022
MikroTik Authentication POCs

Proofs of concept which successfully authenticate with MikroTik Winbox and MAC Telnet servers running on RouterOS version 6.45.1+

Margin Research 56 Dec 08, 2022
A JSON Web Token authentication plugin for the Django REST Framework.

Simple JWT Abstract Simple JWT is a JSON Web Token authentication plugin for the Django REST Framework. For full documentation, visit django-rest-fram

Jazzband 3.2k Dec 29, 2022
Flask Implementation of a login page and some basic functionality.

login_page Flask Implementation of a login page and some basic functionality. How to Run $ chmod +x run.sh setup.sh $ # run setup.sh only if the datab

3 Jun 03, 2021
Pingo provides a uniform API to program devices like the Raspberry Pi, BeagleBone Black, pcDuino etc.

Pingo provides a uniform API to program devices like the Raspberry Pi, BeagleBone Black, pcDuino etc. just like the Python DBAPI provides an uniform API for database programming in Python.

Garoa Hacker Clube 12 May 22, 2022
Alisue 299 Dec 06, 2022
JSON Web Token Authentication support for Django REST Framework

REST framework JWT Auth JSON Web Token Authentication support for Django REST Framework Overview This package provides JSON Web Token Authentication s

Styria Digital Development 178 Jan 02, 2023
Simple two factor authemtication system, made by me.

Simple two factor authemtication system, made by me. Honestly, i don't even know How 2FAs work I just used my knowledge and did whatever i could. Send

Refined 5 Jan 04, 2022
Auth for use with FastAPI

FastAPI Auth Pluggable auth for use with FastAPI Supports OAuth2 Password Flow Uses JWT access and refresh tokens 100% mypy and test coverage Supports

David Montague 95 Jan 02, 2023
Two factor authentication system using azure services and python language and its api's

FUTURE READY TALENT VIRTUAL INTERSHIP PROJECT PROJECT NAME - TWO FACTOR AUTHENTICATION SYSTEM Resources used: * Azure functions(python)

BHUSHAN SATISH DESHMUKH 1 Dec 10, 2021
Web authentication testing framework

What is this This is a framework designed to test authentication for web applications. While web proxies like ZAProxy and Burpsuite allow authenticate

OWASP 88 Jan 01, 2023
Generate payloads that force authentication against an attacker machine

Hashgrab Generates scf, url & lnk payloads to put onto a smb share. These force authentication to an attacker machine in order to grab hashes (for exa

xct 35 Dec 20, 2022
Authentication Module for django rest auth

django-rest-knox Authentication Module for django rest auth Knox provides easy to use authentication for Django REST Framework The aim is to allow for

James McMahon 878 Jan 04, 2023
A Python library for OAuth 1.0/a, 2.0, and Ofly.

Rauth A simple Python OAuth 1.0/a, OAuth 2.0, and Ofly consumer library built on top of Requests. Features Supports OAuth 1.0/a, 2.0 and Ofly Service

litl 1.6k Dec 08, 2022
Basic auth for Django.

easy-basicauth WARNING! THIS LIBRARY IS IN PROGRESS! ANYTHING CAN CHANGE AT ANY MOMENT WITHOUT ANY NOTICE! Installation pip install easy-basicauth Usa

bichanna 2 Mar 25, 2022
Simple Login - Login Extension for Flask - maintainer @cuducos

Login Extension for Flask The simplest way to add login to flask! How it works First, install it from PyPI: $ pip install flask_simplelogin Then, use

Flask Extensions 181 Jan 01, 2023
Django-react-firebase-auth - A web app showcasing OAuth2.0 + OpenID Connect using Firebase, Django-Rest-Framework and React

Demo app to show Django Rest Framework working with Firebase for authentication

Teshank Raut 6 Oct 13, 2022
Simple Login - Login Extension for Flask - maintainer @cuducos

Login Extension for Flask The simplest way to add login to flask! Top Contributors Add yourself, send a PR! How it works First install it from PyPI. p

Flask Extensions 181 Jan 01, 2023
This script will pull and analyze syscalls in given application(s) allowing for easier security research purposes

SyscallExtractorAnalyzer This script will pull and analyze syscalls in given application(s) allowing for easier security research purposes Goals Teach

Truvis Thornton 18 Jul 09, 2022