Skip to content

Ashu2309/Site-Sculptor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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, reset password routes and learn how to send Mail from the Node.js backend application.

Working with the Project

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

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

.env

REACT_APP_SERVER_DOMAIN='<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 : "<secret>",
    EMAIL: "steve.franecki@ethereal.email", // testing email & password
    PASSWORD : "sMf46xCzrvdrxvuagc",
    ATLAS_URI: "<MONGODB_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.

Learn More about this project from the - Daily Tuition Youtube Channel.

Releases

No releases published

Packages

No packages published