Skip to content

kstick9210/jwt-auth-template

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JWT-Auth-Template

This template contains a basic navbar that will display the name of the logged in user.

Instructions:

1. Clone this repository to your local machine.

git clone https://github.com/ManliestBen/jwt-auth-template.git

2. Navigate into the repository and install node modules.

cd jwt-auth-template
npm i

3. Create a .env file and add values for the database URL and mongoDB connection string.

touch .env
DATABASE_URL=XXXXXXXXXXXXXXXXXXXXXXXX
SECRET=XXXXXXXXXXXXXXXXXXXXXXXXXXX

4. Profit.# jwt-auth-template

About

Starter code for a MERN stack app utilizing JSON Web Tokens authentication.

Topics

Resources

Stars

Watchers

Forks

Contributors

Languages

  • JavaScript 81.3%
  • CSS 10.5%
  • HTML 8.2%