Skip to content

A template and tutorial for integrating passport to a MERN app.

Notifications You must be signed in to change notification settings

osmolovyk/simple-mern-passport

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple MERN Passport Template

This project was bootstrapped with Create React App.

Below you will find some information on how to perform common tasks.
You can find the most recent version of this guide here.

About

I couldn't find a simple MERN passport tutorial, so I made one!

Built With

Mongo, Express, ReactJS, Node.js, Javascript.

Getting Started

Clone the repo and follow the instructions. You can view each step by running these commands from the terminal:

git checkout step-0
git checkout step-1
...

Prerequisites

Installing

Run these commands in the terminal:

cd simple-mern-passport
npm install
npm run dev

Instructions

Complete instructions at https://medium.com/@brendt_bly/simple-mern-passport-app-tutorial-4aec2105e367

Completed Features

  • Sign up, login and logout.
  • Authentication with passport and bcryptjs.
  • Session information stored with express sessions.
  • Store data for production in sessions with connect-mongo

Next Steps

  • Add redux

Author

Brendt Bly

Acknowledgments

Thanks to the people who provided great examples: https://code.tutsplus.com/tutorials/authenticating-nodejs-applications-with-passport--cms-21619

https://github.com/thechutrain/mern-passport

About

A template and tutorial for integrating passport to a MERN app.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 91.0%
  • HTML 6.6%
  • CSS 2.4%