Skip to content
This repository has been archived by the owner on May 24, 2024. It is now read-only.
/ goldenSwan-backend Public archive
generated from abheist/meup-backend

🦢 People's blog for people - Backend

License

Notifications You must be signed in to change notification settings

abheist/goldenSwan-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

82 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

meup-backend

So converted this project into template.

Will use this as a base for other projects.

This containes

  • Register
  • Email verification
  • Login
  • Reset Password email link

Tech used:

  • Python
  • Django
  • GraphQL
  • with other python packages to make it more productive

How to get started:

  1. Create new repository by clicking on Use this template button on this repo
  2. Clone your new repo
  3. Make a new virtualenv, you can use virtualenvWrapper
  4. Get into project dir
  5. Install the dependecies with: pip install -r requirements.txt
  6. Migrate using python manage.py migrate
  7. Once installed, run server with: python manage.py runserver or you can use runserver plus for better debugging python manage.py runserver_plus
  8. Setup env file:
    • In a project root, make a file .env
    • Paste the following keys into it and set your key values
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 be example.com, replace that with your Front-end URL localhost:3000 and with your project Name

Now you ready to rock-on 🤘

Contributing

Development of GoldenSwan happens in the open on GitHub, Read below to learn how you can take part in improving GoldenSwan.

License

GoldenSwan is MIT licensed.

About

🦢 People's blog for people - Backend

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published