A Django-powered API with various utility apps / endpoints.

Overview

A Django-powered API

Includes various utility apps / endpoints.

Demos

These web apps provide a frontend to the APIs in this project.

User -- demo : Gir@ff3s

Overview

Project Structure

  • django_api/api - API apps
  • django_api/modules - Regular apps
  • django_api/utils - Utils app

Requirements

Setup

  1. Install dependencies

pipenv install

  1. Open Pipenv shell

pipenv shell

  1. Run migrations

python manage.py migrate

  1. Create superuser

python manage.py createsuperuser

Follow the prompts to create an admin user.

  1. Load fixture data (optional)

python manage.py loaddata issue/all

This will load dummy data for the issue module. It includes:

  • Users
  • Issue metadata records (tags, types, statuses, etc)
  • Projects
  • Issues

python manage.py loaddata skill/skills

This will load dummy data for the skill module. It includes:

  • Skills

Run

python manage.py runserver

Try:

API Authentication

", "user": { "id": 1, "username": "user", "email": "[email protected]", "first_name": "Example", "last_name": "User", "last_login": "2021-09-06T20:51:49.356207-04:00", "is_active": true, "date_joined": "2021-09-06T18:07:32-04:00", "is_staff": true, "is_superuser": true } } ">
{
    "expiry": "2021-09-07T20:51:49.354313-04:00",
    "token": "
   
    ",
    "user": {
        "id": 1,
        "username": "user",
        "email": "[email protected]",
        "first_name": "Example",
        "last_name": "User",
        "last_login": "2021-09-06T20:51:49.356207-04:00",
        "is_active": true,
        "date_joined": "2021-09-06T18:07:32-04:00",
        "is_staff": true,
        "is_superuser": true
    }
}

   

Use with the Authorization header on subsequent request like this:

Authorization: Token 
   

   
You might also like...
A Django api to display items and their current up-to-date prices from different online retailers in one platform.

A Django api to display items and their current up-to-date prices from different online retailers in one platform. Utilizing scrapy to periodically scrape the latest prices from different online retailers. Store in a PostgreSQL database and make available via an API.

Web APIs for Django. 🎸
Web APIs for Django. 🎸

Django REST framework Awesome web-browsable Web APIs. Full documentation for the project is available at https://www.django-rest-framework.org/. Fundi

Django app for handling the server headers required for Cross-Origin Resource Sharing (CORS)

django-cors-headers A Django App that adds Cross-Origin Resource Sharing (CORS) headers to responses. This allows in-browser requests to your Django a

Authentication for Django Rest Framework

Dj-Rest-Auth Drop-in API endpoints for handling authentication securely in Django Rest Framework. Works especially well with SPAs (e.g React, Vue, Ang

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

REST implementation of Django authentication system.
REST implementation of Django authentication system.

djoser REST implementation of Django authentication system. djoser library provides a set of Django Rest Framework views to handle basic actions such

Django queries
Django queries

Djaq Djaq - pronounced “Jack” - provides an instant remote API to your Django models data with a powerful query language. No server-side code beyond t

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

Transparently use webpack with django

Looking for maintainers This repository is unmaintained as I don't have any free time to dedicate to this effort. If you or your organisation are heav

Owner
Shemar Lindie
I thrive in the field of CS; it is as much a part of me as I am a part of it. You'll find my hobby projects here.
Shemar Lindie
Creating delicious APIs for Django apps since 2010.

django-tastypie Creating delicious APIs for Django apps since 2010. Currently in beta but being used actively in production on several sites. Requirem

null 3.8k Dec 30, 2022
Django Ninja is a web framework for building APIs with Django and Python 3.6+ type hints.

?? Fast, Async-ready, Openapi, type hints based framework for building APIs

Vitaliy Kucheryaviy 3.8k Jan 4, 2023
Country-specific Django helpers, to use in Django Rest Framework

django-rest-localflavor Country-specific serializers fields, to Django Rest Framework Documentation (soon) The full documentation is at https://django

Gilson Filho 19 Aug 30, 2022
Django REST API with React BoilerPlate

This is a setup of Authentication and Registration Integrated with React.js inside the Django Templates for web apps

Faisal Nazik 91 Dec 30, 2022
JSON:API support for Django REST framework

JSON:API and Django REST framework Overview JSON:API support for Django REST framework Documentation: https://django-rest-framework-json-api.readthedo

null 1k Dec 27, 2022
simple api build with django rest framework

Django Rest API django-rest-framework Employees management simple API in this project wrote test suites for endpoints wrote simple doc string for clas

OMAR.A 1 Mar 31, 2022
Simple Crud Api With Django Rest Framework

SIMPLE CRUD API WITH DJANGO REST FRAMEWORK Django REST framework is a powerful and flexible toolkit for building Web APIs. Requirements Python 3.6 Dja

kibet hillary 1 May 3, 2022
BloodDonors: Built using Django REST Framework for the API backend and React for the frontend

BloodDonors By Daniel Yuan, Alex Tian, Aaron Pan, Jennifer Yuan As the pandemic raged, one of the side effects was an urgent shortage of blood donatio

Daniel Yuan 1 Oct 24, 2021
Build a Backend REST API with Python & Django

Build a Backend REST API with Python & Django Skills Python Django djangorestframework Aws Git Use the below Git commands in the Windows Command Promp

JeonSoohyun a.k.a Edoc.. 1 Jan 25, 2022