Skip to content

usmansbk/rooms-backend

Repository files navigation

Final group capstone - Room reservation Backend

Microverse

Room reservation app

screenshot

This project is based on an app to book an appointment to try a motorcycle. It has been customized to allow you to book a room or try hosting people with yours.

Project

Screenshot 2021-11-29 at 17-38-52 Final Capstone Project · usmansbk rooms-backend

Frontend

GitHub Repo

Live Link

API

Heroku

Built With

  • Ruby on Rails
  • PostgreSQL

Getting Started

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

Prerequisites

Setup

git clone https://github.com/usmansbk/rooms-backend.git

cd ./rooms-backend

Install

bundle install

Database

# Create user
sudo -u postgres createuser rooms_backend -s

# Create the database
rails db:create

## Apply migration
rails db:migrate

Run

rails s

Test

rspec

Generate documentation

rails rswag

API Documentation

Swagger

Troubleshoot

### Undo migrations
rake db:migrate VERSION=0

Authors

👤 Usman

👤 Simon

👤 Olawale

👤 Denis

🤝 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

MIT