Skip to content

Alchem1Krypt/mern-auth

 
 

Repository files navigation

mern-auth

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

To Run Using Docker

#run this command inside project diretory
docker-compose up -d
#run the following command to see logs
docker-compose logs
#run the following the command to stop and delete the containers
docker-compose down

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

About

MERN (+ Redux) user authentication boilerplate with Passport.js and JWT

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • JavaScript 95.5%
  • HTML 2.6%
  • CSS 1.2%
  • Dockerfile 0.7%