Skip to content

rachelhamlin/express_auth_student_template

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 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 line: 14. mongoose.connect( process.env.MONGOLAB_URI || "mongodb://localhost/your_database_name_goes_here" );

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 90.4%
  • HTML 9.2%
  • CSS 0.4%