https://github.com/anjola-adeuyi/mern_fullstack_auth_system
https://github.com/anjola-adeuyi/mern_fullstack_auth_system
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/anjola-adeuyi/mern_fullstack_auth_system
- Owner: anjola-adeuyi
- Created: 2023-01-07T20:39:42.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2023-01-10T22:12:07.000Z (almost 3 years ago)
- Last Synced: 2024-12-26T20:42:45.511Z (10 months ago)
- Language: JavaScript
- Size: 670 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# MERN FullStack Auth & Login System
**Creating a Login System in a MERN Stack Application**
In this project, I will be building a login, registration, profile, and reset password functionality in a MERN stack application. I will also be sending emails from the Node.js backend.## Working with the Project
For the Client Folder create .env file and put this code inside it.
.env
```
REACT_APP_SERVER_DOMAIN='' # example 'http://localhost:8080'
```After that create a file in the Server Folder with the name config.js and put the below code inside it.
config.js
```
export default {
JWT_SECRET : "",
EMAIL: "jola@test.email", // testing email & password
PASSWORD : "sMf46xCzrvdrxvuagc",
ATLAS_URI: ""
}
```> **Note:** The **ATLAS_URI** is important to work this project.
Now, create all these variables in the project and make sure you set ATLAS_URI variable.
Otherwise, the project will not work.