hotel management where user and book rooms, hotels etc just like real life
Goto postman hit some of the url(below) of this project and check
POST: [https://booking-backend-7r36.onrender.com/api/auth/logi]
GET: [https://booking-backend-7r36.onrender.com/api/hotels?featured=true&limit=1&min=10&max=200]
GET: [https://booking-backend-7r36.onrender.com/api/hotels/room/63d67f0f1b38293acd6788d8]
LOGIN DETAILS
{
"username": "radha",
"password": "abc123"
}
you have to install npm or yarn in your system.
yarn start
Yarn install
N.B: If you have already installed node in your device just clone this repo and type "yarn" It will complete the setup automatically.
npm install --global yarn
nodemon
(npm install nodemon -g) - globally or/ (nodemon i install) - single project
all packages
npm install || yarn add express bcrypt jsonwebtoken cookie-parser axios
yarn start
"dependencies": {
"@fortawesome/fontawesome-svg-core": "^6.1.1",
"@fortawesome/free-regular-svg-icons": "^6.1.1",
"@fortawesome/free-solid-svg-icons": "^6.1.1",
"@fortawesome/react-fontawesome": "^0.1.18",
"@testing-library/jest-dom": "^5.16.4",
"@testing-library/react": "^13.1.1",
"@testing-library/user-event": "^13.5.0",
"axios": "^1.2.6",
"date-fns": "^2.28.0",
"react": "^18.0.0",
"react-date-range": "^1.4.0",
"react-dom": "^18.0.0",
"react-router-dom": "^6.3.0",
"react-scripts": "5.0.1",
"web-vitals": "^2.1.4"
}