birkmann / mern-jwt-auth

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

mern-auth

Minimal full-stack MERN app with authentication using passport and JWTs.

This project uses the following technologies:

Configuration

Make sure to add your own MONGOURI in config/keys.js.

module.exports = {
  mongoURI = "mongodb+srv://dbUser:<w8P33q1qADibXHWf>@cluster0-6nxui.mongodb.net/test?retryWrites=true&w=majority";

  secretOrKey: "secret"
};

Quick Start

// Install dependencies for server & client
npm install && npm run client-install

// Run client & server with concurrently
npm run dev

// Server runs on http://localhost:5000 and client on http://localhost:3000

About


Languages

Language:JavaScript 96.2%Language:HTML 2.7%Language:CSS 1.2%