This is a project where I have learned about MERN and created a simple login and sign up form with frontend, backend, database, and JWT for security. The project has been a valuable learning experience, enabling me to understand and apply full-stack development concepts.
To get this project running locally:
- Node.js installed on your machine
- MongoDB account and database set up
- Clone the repository and navigate to the
client
directory:
git clone [email protected]:juantor16/MERN-Auth-Fullstack.git
cd client
- Install dependencies:
npm install
- Start the development server:
npm run dev
The client will be running on http://localhost:5173/
.
-
Navigate to the
server
directory from the root:cd server
-
Install dependencies:
npm install
-
Create a
.env
file usingexample.env
as a template. Add your MongoDB connection string to theMONGO_URL
variable. -
Start the server:
npm start
- Big thanks to bwestwood11 for the comprehensive YouTube tutorial that was followed to learn the MERN stack and develop this project.
you can reach out to me directly on my email [email protected]
This project is licensed under the MIT License - see the LICENSE.md file for details.