To start frontEnd run "npm i " and "npm run dev" if port is other then 5173 then add it in express cors middleware
To start server
add config.env file in config and add env variables
To login just add crediantals from https://ethereal.email/ and a random password was sent to there
To run this project, you will need to add the following environment variables to your .env file
PORT
DB_URI
JWT_SECRET
JWT_EXPIRE
COOKIE_EXPIRE
Followings are use on frontEnd
- "@emotion/react": "^11.11.1",
- "@emotion/styled": "^11.11.0",
- "@fontsource/roboto": "^5.0.3",
- "@mui/icons-material": "^5.11.16",
- "@mui/material": "^5.13.5",
- "@reduxjs/toolkit": "^1.9.5",
- "react": "^18.2.0",
- *"react-dom": "^18.2.0",
- "react-redux": "^8.1.0",
- "react-router-dom": "^6.14.0" Followings are use on Backend
- "bcryptjs": "^2.4.3",
* "body-parser": "^1.19.0",
- "cookie-parser": "^1.4.5",
- "cors": "^2.8.5",
- "dotenv": "^10.0.0",
- "express": "^4.17.2",
- "jsonwebtoken": "^8.5.1",
- "mongoose": "^5.13.5",
- "nodemailer": "^6.6.3", * "validator": "^13.6.0"
How it works