Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 1.03 KB

README.md

File metadata and controls

33 lines (22 loc) · 1.03 KB
 ______     ______     _____     ______     __    __     ______     __  __    
/\  ___\   /\  __ \   /\  __-.  /\  ___\   /\ "-./  \   /\___  \   /\ \_\ \   
\ \ \____  \ \ \/\ \  \ \ \/\ \ \ \  __\   \ \ \-./\ \  \/_/  /__  \ \____ \  
 \ \_____\  \ \_____\  \ \____-  \ \_____\  \ \_\ \ \_\   /\_____\  \/\_____\ 
  \/_____/   \/_____/   \/____/   \/_____/   \/_/  \/_/   \/_____/   \/_____/
------------------------------------------------------------------------------ 

Full Stack Auth with MERN and JWT Tokens

Register an account, log in and log out.

Get Started:

  1. Create a private folder at the same directory level as the repo (outside the repo)

    /private  
    /mern-auth  
       - /app  
       - /public  
       - /server 
    
  2. Create your .env file within the private directory and include

  • PORT= optional,
  • MONGO_URL= for your DB connection,
  • SECRET_STR= for your JWT (server/services/passport)
  • SPARKPOST_KEY= for sparkpost (server/services/sparkpost)