Giter Club home page Giter Club logo

ahzamir / hotel-room Goto Github PK

View Code? Open in Web Editor NEW

This project forked from preciousakams/hotel-room

0.0 0.0 0.0 131 KB

Hotel Room is a project that simulates a hotel room booking system. It allows users to book a room for one night. It also allows users to see the list of all booked rooms on that day and see a list of rooms that are not booked yet. You can check the source code for frontend here.

License: MIT License

Ruby 99.41% HTML 0.49% Procfile 0.10%

hotel-room's Introduction

SuiteUp

Hotel Room is a project that simulates a hotel room booking system. It allows users to book a room for one night. It also allows users to see the list of all booked rooms on that day and see a list of rooms that are not booked yet. 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.

hotel-room's People

Contributors

huseyinbiyik avatar ahzamir avatar felixodette avatar preciousakams avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.