Skip to content

rapala61/express_auth_student_template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Steps to use the template:

The best way to use it is to fork it and then use it in your own projects. Once you have it cloned in your localhost from your fork, make sure you implement the next steps:

  1. Run npm install
  2. create a new file at the root of your project named .env. The contents should be: JWT_SECRET=THE_SUPER_SECRET_FOR_YOUR_JWT_TOKENS. This is the token used to encrypt your authorization tokens when a user successfully logs in.
  3. Change the mongo database to the one you are using in index.js line: 14.

mongoose.connect( process.env.MONGOLAB_URI || "mongodb://localhost/your_database_name_goes_here" );

Licensing

All content is licensed under a CC­BY­NC­SA 4.0 license. All software code is licensed under GNU GPLv3. For commercial use or alternative licensing, please contact legal@ga.co.

About

Auth template given to students for project implementations

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published