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
Copy paste this and replace it with your own variables
[settings]
SECRET_KEY = 'your awesome secret key'
DJANGO_SETTINGS_MODULE = 'base.settings.dev'
[mysql-database-config] if you're using mysql
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