/hotel-backend

This project is a backend application interface exposing data model for creating, reading, updating and deleting hotels, users, and rooms. Built with Ruby on Rails, PostgreSQL and Ruby

Primary LanguageRubyMIT LicenseMIT

📗 Table of Contents

📖 Hotel Backend

Hotel Backend is a backend application interface providing secured endpoints for booking hotel rooms.

🛠 Built With

Schema Design

Tech Stack

Server
Database

Key Features

  • Implement Authenticated endpoint
  • Implement CRUD functionality for hotels model
  • Implement CRUD functionality for rooms model
  • Implement CRUD functionality for booking model

(back to top)

🚀 LIVE DEMO

(back to top)

🚀 Frontend Link

(back to top)

💻 Getting Started

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

Prerequisites

In order to run this project you need:

  • Ruby
  • Postgres

Setup

Clone this repository to your desired folder:

  git clone https://github.com/t-bello7/hotel-backend.git

Install

Install this project with:

  cd hotel-backend
  bundle install

Usage

To run the project, execute the following command:

  bin/rails server
  bin/rails db:create 
  bin/rails db:migrate

Run tests

To run tests, run the following command:

  rspec spec 

Deployment

You can deploy this project using Fly

(back to top)

👥 Authors

👤 Ezea Stephen Nnabuike

👤 Bello Oluwatomisin

(back to top)

🤝 Contributing

Contributions, issues, and feature requests are welcome!

Feel free to check the issues page.

(back to top)

⭐️ Show your support

If you like this project kindly star the project

(back to top)

🙏 Acknowledgments

We would like to thank microverse and the open source community for resources and Knowledge

(back to top)

📝 License

This project is MIT licensed.

(back to top)