chrisfield / djact-api

A starter/demo Django api

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DJACT-API A starter/demo Django api

Implements REST framework JWT based on this article: Django & React: JWT Authentication

Getting Started

Clone the repo & cd to its root folder:

git clone git@github.com:chrisfield/djact-api.git
cd djact-api

create & activate a virtual env:

python3 -m venv env
source env/bin/activate

Add models to database schema

python manage.py migrate

Create a superuser

python manage.py createsuperuser

Run the server

python manage.py runserver

Run the web frontend webserver

A React implementation of a webserver using this api can be found here.

About

A starter/demo Django api


Languages

Language:Python 100.0%