Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/abhishek-bharti1/auth-mern

MERN-Authentication app with JSON token and OTP login feature
https://github.com/abhishek-bharti1/auth-mern

bcryptjs css-animations express-validator expressjs jsonwebtoken mongodb multer nodejs reactjs twilio-api

Last synced: about 11 hours ago
JSON representation

MERN-Authentication app with JSON token and OTP login feature

Awesome Lists containing this project

README

        

# Welcome to MERN Login System

Hello everyone, In this project, we are going to create **MERN Stack App with Login System**.
We will take a look at how to create login, registration, profile,Login with OTP and update profile Node.js backend application.

## Working with the Project

Download this project from above link. Create two configaration files into the project.
First in the frontend and second in the backend.

In the frontend Folder create .env file and put this code inside it.

.env
```
REACT_APP_BASE_URL='' # example 'http://localhost:5000'
```

After that create a file in the backend Folder with the name .env and put the below code inside it.

```
JWT_SECRET : "" # example Your_name,
PORT : 5000
MONGO_URI: "" or localhost URI # example mongodb://localhost:27017/
```
## Demo vedio link
```
https://drive.google.com/file/d/1F4_OqnLx7ZfNG30iHdjJagk50X8JxkNZ/view?usp=sharing
```

Now, create all these variables in the project and make sure you set all the dependencies with npm install command.
Otherwise, the project will not work.