This Template includes dj-rest-auth for authentication and Token authentication.
python3 -m venv env
pip install -r requirements.txt
python manage.py migrate
pipenv shell
pipenv install
python manage.py migrate
Create .env file for your env variables(Copy paste the details below and replace it with your own env variables)
[settings]
SECRET_KEY = 'your awesome secret key'
DJANGO_SETTINGS_MODULE = 'base.settings.dev'
[sql-database-config]
NAME=your_db_name
USER=your_db_user
PASSWORD=your_db_password
PORT=your_db_port
HOST=your_db_host
[email]
EMAIL_HOST_PASSWORD = 'your_email_pass'
EMAIL_HOST_USER = 'your_email'
See Configuration Reference of python decouple.
npm install --save
npm run serve
npm run build
npm run lint