- Python3.8
- Django 3
- Django Rest Framework
- MySql
- Docker
- User SignIn/SignUp
- Forget Password
- Email Verification
- Login with Social Accounts (Facebook/Google)
- OAuth 2.0 (Authentication with Access & Refresh Token)
- Swagger Documentation
- Testing - [Coming Soon]
- Docker Config - [Coming Soon]
- Clone project
git clone https://github.com/morshedmasud/django-rest-framework-mysql-boilerplate
- Go to project root path and create virtualenv
virtualenv -p python3 venv
- Active virtualenv
source venv/bin/activate
- Install all dependency
pip3 install -r requirements.txt
- Don't forget to create .env file as like .env.example and put necessary values like DB Info, Email Info
- Database migrations
python3 manage.py makemigrations
- Database Migrate
python3 manage.py migrate
- Database Migrate and Seeder
bash migrate_and_seed.sh
- Finally, run the project by
python3 manage.py runserver
- Generated staticfiles
python3 manage.py collectstatic