Skip to content

Rmorbey/MakersBnB

 
 

Repository files navigation

        .    !__________!    .    _______
       /_\   |____  ____|   /_\   |__*__|
      __|__  {____}{____}  __|__  |__*__|
    __|_*_|__%%%%%%%%%%%%__|_*_|__|__*__|__
      |   | %%%%%%%%%%%%%% |   |  |/   \|
           %%%%%%%%%%%%%%%%
          %%%%%%%%%%%%%%%%%%
         %%%%%%%%%%%%%%%%%%%%
        /||||||||||||||||||||\
        ||||||||||||||||||||||

Makers BnB

MakersBnB full

Contributors of Team Hybrid Heroes

Description

This is a clone of AirBnB built using Ruby, Sinatra and PostgreSQL. It was a group project as part of Makers Academy and we named our Website MakersBnB.

It uses:

  • [Ruby 3.0.2] As our coding language
  • [Sinatra] Our DSL use for writing web apps
  • [Capybara] For user testing
  • [RSPEC] For unit testing
  • [PostgreSQL] Our local database
  • [CSS]
  • [HTML]

Card wall

Screenshot 2022-06-28 at 11 41 47

MVP, design and planning

Miro board. Planning, design and MVP

Screenshot 2022-05-20 at 16 37 26

User Stories

MVP User Stories

As a user,
So that I can host my property,
I would like to list a space.
As a user,
So that I can go on holiday,
I would like to view a space.
As a user,
So that I can make a booking,
I would like to contact the host.

Headline Specs

As a user,
so I can keep track of my listings,
I would like to make an account for MakersBnB.
As a signed-up user,
so I can use the platform,
I would like to log in and log out of MakersBnB.
As a logged-in user,
so I can host my space,
I would like to list a space.
As a user,
so I can keep track of my listings,
I would like my acccount to keep track of multiple spaces.
As a user,
so I can accurately advertise my space,
I would like to add a name to my space.
As a user,
so I can accurately advertise my space,
I would like to provide a short description.
As a user,
so I can accurately advertise my space,
I would like to add a price per night.
As a host,
so I can keep track of availability,
I would like to have a range of dates where my space is unoccupied.
As a guest,
so that I can plan my booking,
I would like to see a range of dates where the space is available.
As a customer,
so I can stay in a BnB,
I would like to request to hire a space for one specific night.
As a host,
so I can confirm the listing,
I would like to approve the request made by the customer.
As a user,
so I don't get double bookings for the same night,
I would like to make approved occupied dates unavailable to book to other guests.
As a host,
So my space is fairly available,
I would like for the space to remain available with multiple requests.

Team Approach

Work hours

  • Start time 10am
  • Lunch 1pm - 2pm
  • End day 5:30pm

Pairing

  • Breaks decided amongst pairs.

  • Two pairing slots.

Daily stand ups and retros.

  • Stand ups. 10am-10:15am.
  • Retro. 5:30pm.

Demo Photos

Sign up page

Screenshot 2022-06-28 at 12 18 36

Log in page

Screenshot 2022-06-28 at 12 18 20

Home page / properties page

Screenshot 2022-06-28 at 12 19 11

List your property page

Screenshot 2022-06-28 at 12 19 36

My listing page

Screenshot 2022-06-28 at 12 20 06

How to install and setup

How to run locally

  1. Fork this repository
  2. Clone your fork to your local machine
  3. Type bundle install to install dependencies

Database setup

  1. Connect to psql
  2. Create the database using the psql command CREATE DATABASE makers_bnb;
  3. Connect to the database using the pqsl command \c makers_bnb;
  4. Run the query we have saved in the file 01_create_property_database.sql

Start local server

  1. Type ruby app.rb in terminal to run local server
  2. Browse to local address given in terminal

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 64.1%
  • HTML 23.3%
  • CSS 12.6%