A sql based Hotel Management System. The frontend is implemented with the help of react and the backend is implemented with java-script. For the database part we used mysql
To clone the repository, type the command in any folder.
git clone https://github.com/jubaer36/HotelManagementSystem
This will create a folder HotelManagementSystem
in that directory.
It will have a complete copy of this repository. With a '.git' folder inside.
Open the terminal and run this command once in the frontend folder and once in backend folder
npm i
Then setup the .env
.In .env to generate the JWT_SECRET
type this command
node -e "console.log(require('crypto').randomBytes(64).toString('hex'))"
open an terminal and run in the frontend folder
npm start
this will start the frontend. Then open another terminal at the backend folder and run this command
node index.js