Skip to content

Latest commit

 

History

History
68 lines (39 loc) · 1.66 KB

README.md

File metadata and controls

68 lines (39 loc) · 1.66 KB

MERN CRUD

A Login and registration form based on JSON Web Token Authorization and encrypted password stored in mongoDB build using MongoDB, Express.js, and Node.js at the back-end and React/Redux for the UI.

Cookies is used at the client side to store user information

Getting Started

Prerequisites

Your machine should have npm(or yarn), NodeJS and MongoDB server installed to use this locally

Installation

git clone https://github.com/maxwell-kimaiyo/Login-Form-MERN-Stack.git

- Install server dependencies(in root directory)
npm install
  • Install client dependencies
cd client
npm install
  • You can either use your own local mongoDB database or any cloud database just change mongoURI and secretOrKey in config.js file
export default {
  MONGODB_URL: process.env.MONGODB_URL || 'mongodb://localhost:27017/User',
};
  • This app uses concurrently so you don't need to run 2 different instances for client and server, use this command in root directory to run the app.
npm run dev

Support

Reach out to me at one of the following places!

Let me know if you have any questions. Email Maxwell


License

License