This is an example application I created to showcase how to implement authentication on a web application using React and react-router on the frontend and node.js, express, mongodb, and mongoose on the backend.
The associated blog post for this example can be found here.
To run the application first clone the repository
git clone https://github.com/faizanv/react-auth-example.git
Install the dependencies
npm install
node server.js
and then in a separate window/tab run the frontend inside client Folder
npm start
The application should be running at [http://localhost:3000/](http://localhost:3000/)
This project was bootstrapped with [Create React App](https://github.com/facebookincubator/create-react-app).
You can find the most recent version of their guide [here](https://github.com/facebookincubator/create-react-app/blob/master/packages/react-scripts/template/README.md).