The Hotels Resrvation API allows users to create account and create new Rooms and can reserved the room.
- Create user based on role
- Create room and view all rooms
- Create reservations and view all reservations
To get a local copy up and running, follow these steps.
In order to run this project you need:
- Command line or terminal
- IDE such as VsCode.
- Rails needs to be installed on your system.
Clone this repository to your desired folder: Example command:
git clone https://github.com/huzaifakhan0308/full-stack-capstone-back-end.git
cd full-stack-capstone-back-end
Example command:
cd full-stack-capstone-back-end
bundle install (install all dependencies)
rails db:create (to create database)
rails db:migrate (to migrate tables)
To run the project redirecting to the root directory of the project and run the following command:
bin/rails server (to run web API)
To test the web app run the following command:
rspec spec ( to test the web API)
👤 Huzaifa khan
- GitHub: @huzaifakhan0308
- Twitter: @huzaifakhan0308
- LinkedIn: huzaifa khan
👤 Jitender Kumar
👤 Mark Fenekayas
- GitHub: @Fene-87
- Twitter: @markfen4
- LinkedIn: @Mark Fenekayas
👤 Aubin SIMPEZE
- GitHub: @githubhandle
- Twitter: @twitterhandle
- LinkedIn: LinkedIn
- [add comments for and likes rooms]
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.
Give a ⭐️ if you like this project!
- We would like to thank microverse community for the support and guidance, Thank you Murat Korkmaz on Behance for the Awesome Design Template.
This project is MIT licensed.