- install node
- npm create vite@latest
- npm i / npm install
- install tailwind and SetUp
Q.2. Extension in frontEnd :-
- Auto Rename Tag
- ES7 (react/)
- About , Home , Profile , SignIn , SignOut
- npm i react-router-dom
- BrowserRouter , Routes , Route
- Header
- <h1>SahandEstate , Search , Home , About ,SignIn
- Create and run the server backend
-> npm init -y
-> npm i express
-> npm i nodemon
-> npm i mongoose
-> npm i dotenv
-> type : module
-> dev : nodemon api/index.js
-> start : node api/index.js
-> dotenv.config()
Q.6. user.model for Backend
Q.7. Create a test API route
Q.8. Create a sign up API route
-> npm i bcryptjs
-> bcryptjs.hashSync(password , 10)
Q.10. Create a middleware and a function to handle possible errors .
Q.11. Sign In Api route and Sign In Functionality ;