So converted this project into template.
Will use this as a base for other projects.
- Register
- Email verification
- Login
- Reset Password email link
- Python
- Django
- GraphQL
- with other python packages to make it more productive
- Create new repository by clicking on
Use this template
button on this repo - Clone your new repo
- Make a new virtualenv, you can use
virtualenvWrapper
- Get into project dir
- Install the dependecies with:
pip install -r requirements.txt
- Migrate using
python manage.py migrate
- Once installed, run server with:
python manage.py runserver
or you can use runserver plus for better debuggingpython manage.py runserver_plus
- Setup env file:
- In a project root, make a file
.env
- Paste the following keys into it and set your key values
- In a project root, make a file
SECRET_KEY="your-django-key"
DEBUG=True
SENDGRID_API_KEY="sendgrid-api-key"
EMAIL_PORT=587
SENDGRID_USERNAME="abheist"
SENDGRID_HOST="sendgrid-host"
SENDGRID_SERVER_EMAIL="Abhishek <abhishek@abhiy.com>"
SENDGRID_DEFAULT_FROM_EMAIL="Abhishek <abhishek@abhiy.com>"
Up untill now, everything might be working well, but have you tried registering a user or requesting a password reset.
🥱 Yes, the URL in a email template is of Django server instead of Front-end. So for this:
- Go to admin panel on: https://localhost:8000/admin
- Click on
sites
, as a default there will beexample.com
, replace that with your Front-end URLlocalhost:3000
and with your project Name
Now you ready to rock-on 🤘
Development of GoldenSwan happens in the open on GitHub, Read below to learn how you can take part in improving GoldenSwan.
GoldenSwan is MIT licensed.