MIT License
This is a django rest framework project boilerplate.
/api/auth/signup/
/api/auth/login/
/api/auth/logout/
api/auth/activate/
/api/auth/resend/
/api/auth/reset_password/
/api/auth/reset_password_confirm/
/api/auth/change_password/
/api/auth/change_email/
/api/
/api/schema/
$ virtualenv -p python .venv
$ pip install -r api/requiremts.txt
$ copy .env-example .env
$ sudo su postgres
$ psql
postgres=# CREATE USER django WITH PASSWORD 'password';
postgres=# ALTER ROLE django SET client_encoding TO 'utf8';
postgres=# ALTER ROLE django SET default_transaction_isolation TO 'read committed';
postgres=# ALTER ROLE django SET timezone TO 'UTC';
postgres=# CREATE DATABASE drf;
postgres=# GRANT ALL PRIVILEGES ON DATABASE drf TO django;
postgres=# \q
$ exit
$ python api/manage.py runserver
$ cp .docker-env.example .env
$ docker-compose build
$ docker-compose up
$ docker-compose run app python api/manage.py migrate