Final group capstone - House Reservation: Back end

Microverse

The project we built for the Final Capstone Project is based on an app to book/reserve a house for rental. We will be following the given design of the website, while personalising the content.

Project requirements can be found here

Project DBMS ER Diagram

dbms_screenshot

Frontend Pull Request

Kanban board

We are three in this team:

  • Team member A is @pasytchangwa
  • Team member B is @toliboff
  • Team member C is @andersonlebon

Here is the link to the project Kanban board

Kanban board initial state screenshot

Documentations

Folow this link to see the documentation of the API.

Built With

  • Ruby on Rails
  • PostgreSQL

Getting Started

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

Prerequisites

Setup

  • Make sure you have Ruby on Rails set up properly on your computer
  • Clone or download this repo on your machine
  • Enter project directory

Install

bundle install

Database

# Create user
sudo -u postgres createuser booking_app -s

# Create the database
rails db:create

## Apply migration
rails db:migrate

# Load the schema
rails db:schema:load

Run

rails s

Test

rails spec

Troubleshoot

### Rspec failing
RAILS_ENV=test rails db:reset
### New Scaffold
rails g scaffold_controller model
### Undo migration
rake db:migrate VERSION=0

Authors

👤 Sylvestre

👤 Tolib

👤 Anderson Caleb

🤝 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

  • Microverse
  • Original design idea by Murat Korkmaz on Behance.

License

MIT