ga-sei-lessons / SEI-125-MERN-Deploy-server

servr for mern deploy code along

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MERN Auth server

this is an express api that does simple auth with 'jwt tokens' AKA 'JSON Web Tokens Tokens'

Installing this app:

  • clone this repo
  • cd into the folder you just cloned
  • npm i to install the required packages
  • touch .env for enviromental variables
  • put the following in your .env file:
PORT=3001
MONGODB_URI=mongodb://localhost/mernAuth
JWT_SECRET=yourSuperDuperBigSecret

About

servr for mern deploy code along


Languages

Language:JavaScript 100.0%