A simple CRUD (Create, Read, Update, Delete) application built using Vite and React, managed by Yarn. User authentication and authorization using JWT. Email verification link send using Nodemailer.
Make sure you have Node.js, MongoDB Compass and Yarn installed on your machine.
1.Clone the repository:
git clone https://github.com/Shanavas-98/Notes.git2.Navigate to the Notes directory:
cd Notes3.Navigate to the CLIENT directory:
cd CLIENT4.Install dependencies:
yarn install5.Open another terminal and navigate to the SERVER directory:
cd SERVER6.Install dependencies:
yarn installTo run this project, you will need to add the following environment variables to your Client side .env file
VITE_REACT_APP_SERVER_URL
To run this project, you will need to add the following environment variables to your Server side .env file
PORT
MONGO_URI
CLIENT_URL
JWT_SECRET
Add node mailer environment variables
SMTP_HOST
SMTP_SERVICE
SMTP_PORT
SMTP_USER
SMTP_PASS
1.Open new terminal and go to the CLIENT directory
cd CLIENT2.Run client side
yarn dev3.Open new terminal and go to the SERVER directory
cd SERVER4.Run server side
npm start5.Now open any browser and enter url
http://localhost:5173- Login/Register
- JWT Authentication
- CRUD operations
- Email verification