Skip to content

A Login and registration form based on JSON Web Token Authorization and encrypted password stored in MongoDB

Notifications You must be signed in to change notification settings

maxwell-kimaiyo/Login-Form-MERN-Stack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A Login and registration form based on JSON Web Token Authorization and encrypted password stored in MongoDB

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published