Reservation Buddy is an hotel reservation system demo made with shakacode/rescript-react-on-rails.
Checkout the app on heroku.
bundle
yarn
rails db:create
rails db:migrate
rails db:seed
In two separate terminals run the following commands
yarn run re:start
rails s
Then access the website through this link http://localhost:3000.
bundle exec rspec
-
Admin:
- Email: [email protected]
- Password: password1
-
Customer:
- Email: [email protected]
- Password: password1
You can edit the ERD, you can request edit access through this link.
-
As an Admin you can:
- Login to the admin panel.
- Add new hotel.
- Delete a hotel.
- Browse, sort, paginate, and search all hotels, customers, and reservations.
- Logout.
-
As a customer you can:
- Register as user.
- Login as user.
- Search for a hotel by name or city.
- Reserve a hotel.
- Browse your past reservations.
- Logout.
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.