We have created a website for a hotel that resides in the lovely city of Gilroy.
This repo focuses on the calendar and booking module. From here the user will be able to select dates for their trip and see the total for their stay. They can also update the records so that the hotel will be aware of how many guests are coming, which is seperated by adults, children, and infants.
- https://github.com/garlic-ly/calendar-service
- https://github.com/garlic-ly/photo-gallery-service
- https://github.com/garlic-ly/reviews
In order to use this repo you must do the following:
- Create a MySQL database using the schema.sql file found in the DB folder (mysql -u root -p < pathname)
- Once that is complete seed the DB by running 'npm run seed'
- After the DB has been seeded, compile the project using 'npm run webpack'
- Once that is compiled, run 'npm run start' to kick off the server and bring it live
An nvmrc
file is included if using nvm.
- Node 6.13.0
- etc
From within the root directory:
npm install -g webpack
npm install