A RESTful API for managing user accounts for Django apps.
The API features JWT (JSON Web Token) authentication, and full CRUD (Create, Read, Update, Delete) functionality for user accounts.
{URL}/api/users/register
{URL}/api/users/login
{URL}/api/users/profile
{URL}/api/users/
{URL}/api/users/{id}
{URL}/api/users/update/{id}
{URL}/api/users/delete/{id}
$ # change into backend directory
$ cd backend
$
$ # create virtual environment
$ virtualenv venv
$
$ # activate venv
$ . venv/bin/activate # for mac/linux
$
$ # install dependencies
$ pip install -r requirements.txt
$
$ # migrate admin and auth to SQLite db
$ python manage.py migrate
$
$ # create superuser so you can login to /admin
$ python manage.py createsuperuser
$ # follow prompts
$
$ # start django server
$ python manage.py runserver
note: you may specify a port as an argument on the last command, if no port specified, django serves at port 8000 (or
http://127.0.0.1:8000/
orhttp://localhost:8000/
)