This is a starting template for any MERN stack app which includes user registration and authentication.
Used React.js for building user interface, Express.js for handling HTTP requests, MongoDB database for data storage, and JWT for authentication.
Use the node package manager npm to install the dependencies in both client and server directory.
npm i
v18.14.2
Check node version:
node -v
"@testing-library/jest-dom": "^5.17.0",
"@testing-library/react": "^13.4.0",
"@testing-library/user-event": "^13.5.0",
"axios": "^1.5.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-router-dom": "^6.16.0",
"react-scripts": "5.0.1",
"web-vitals": "^2.1.4"
"bcrypt": "^5.1.1",
"cookie-parser": "^1.4.6",
"cors": "^2.8.5",
"express": "^4.18.2",
"jsonwebtoken": "^9.0.2",
"mongoose": "^7.5.2",
"validator": "^13.11.0"
Download as zip file or
git clone https://github.com/HETARTH7/Auth.git
cd /client
npm start
cd /server
node server.js