/mern-auth

Primary LanguageJavaScript

Mern Auth

Mern Auth is a demo project to show how to create a basic app with a log in including some basic security features. Routes are tested using Postman, and state is handled using Redux

This app will allow users to:

  • Register
  • Log in
  • Access protected pages only accessible to logged in users
  • Stay logged in when they close the app or refresh the page
  • Log out

Installation

Use the package manager npm to install Mern Auth.

npm install

Usage

To start the application create a .env file with the necessary connections to either your local mongoDB or your Mongo Atlas connection

nodemon run server

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

MIT