Skip to content

SuiteUp is a simulation of a hotel room reservation system. It enables users to make room reservations. It also allows users to see all of their reservations in a list format, delete a room only if it is empty, and all visitors can see unreserved rooms.

Notifications You must be signed in to change notification settings

preciousakams/Hotel-Room

Repository files navigation

SuiteUp

SuiteUp is a simulation of a hotel room reservation system. It enables users to make room reservations. It also allows users to see all of their reservations in a list format, delete a room only if it is empty, and all visitors can see unreserved rooms. You can check the source code for frontend here.

Screen Shot 2022-10-12 at 3 25 17 PM

Backend Schema

hotel_schema

Live Demo

Built With

Backend

Frontend

Getting Started

To get a local copy up and running follow these simple example steps.

Install

In the terminal, go to your file directory and run this command.

$ git clone https://github.com/kamzzy/Hotel-Room.git

Usage

Go to the app directory

$ cd Hotel-Room

Run the server

$ rails server

You can check the linter issues and fix them

$ rubocop -A

Setup

Install Gems

$ bundle install

Create the database

$ rails db:create

Migrate database schema

$ rails db:migrate

Seed the database

$ rails db:seed

Run tests

To install rspec, in the terminal kindly run this command

$ gem install rspec

To run tests, please run this command

$ rspec ./spec/#{filename}_spec.rb

API Documentation

You can find the API documentation by

$ rails server

Then go to this link: http://localhost:3000/api-docs/index.html

Prerequisites

You can check if Git is installed by running the following command in the terminal.

$ git --version

Likewise for Ruby installation.

$ ruby --version && irb

To install rails, in the terminal kindly run this command

$ gem install rails

Authors

👤 Ahmad Zamir Yousufi

👤 Huseyin Biyik

👤 Precious Akams

👤 Felix Odete

🤝 Contributing

Contributions, issues, and feature requests are welcome!

Feel free to check the issues page.

Show your support

Give a ⭐️ if you like this project!

Acknowledgments

📝 License

This project is MIT licensed.

About

SuiteUp is a simulation of a hotel room reservation system. It enables users to make room reservations. It also allows users to see all of their reservations in a list format, delete a room only if it is empty, and all visitors can see unreserved rooms.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages