/mern-auth-redux

Build a login/auth app with the MERN stack from scratch Create a (minimal) full-stack app with user authentication via passport and JWTs

Primary LanguageJavaScriptGNU General Public License v3.0GPL-3.0

MERN-auth-redux

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

This project uses the following technologies:

Medium Series

Configuration

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

module.exports = {
  mongoURI: "YOUR_MONGO_URI_HERE",
  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

For deploying to Heroku, please refer to this helpful video by TraversyMedia.