Giter VIP home page Giter VIP logo

makersbnb's Introduction

MakersBnB

A web application that allows users to list spaces they have available, and to hire spaces for the night.

Screenshots

Specifications

Headline specifications

  • Any signed-up user can list a new space.
  • Users can list multiple spaces.
  • Users should be able to name their space, provide a short description of the space, and a price per night.
  • Users should be able to offer a range of dates where their space is available.
  • Any signed-up user can request to hire any space for one night, and this should be approved by the user that owns that space.
  • Nights for which a space has already been booked should not be available for users to book that space.
  • Until a user has confirmed a booking request, that space can still be booked for that night.

Nice-to-haves

  • Users should receive an email whenever one of the following happens:
    • They sign up
    • They create a space
    • They update a space
    • A user requests to book their space
    • They confirm a request
    • They request to book a space
    • Their request to book a space is confirmed
    • Their request to book a space is denied
  • Users should receive a text message to a provided number whenever one of the following happens:
    • A user requests to book their space
    • Their request to book a space is confirmed
    • Their request to book a space is denied
  • A β€˜chat’ functionality once a space has been booked, allowing users whose space-booking request has been confirmed to chat with the user that owns that space
  • Basic payment implementation though Stripe.

Minimum Viable Product (MVP)

  • Any signed-up user can list a new space.
  • Users can list multiple spaces.
  • Users should be able to name their space, provide a short description of the space, and a price per night.
  • Users should be able to offer a range of dates where their space is available.

User Stories

__User Story 1__
As a user
So I can sign up to MakersBnB
I want to be able to enter my email address and password
__User Story 2__
As a host
So I can promote my house on the MakerBnb website
I want to be able to list my house
__User Story 3__
As a host
So I can earn more money
I want to be able to list more than one space
__User Story 4__
As a host
So I can give more details about my property
I want to be able to provide a name, description, price and data range for my space

Entity Relationship Diagram

  • A User has many Listings
  • A Listing belongs to a User

Tech used

  • Ruby
  • Capybara
  • Sinatra

How to use

Project set up

git clone [email protected]:biancaiordache/MakersBnB.git

bundle

Database set up

  • Connect to psql
  • Create the makers_bnb database:
CREATE DATABASE makers_bnb;
  • Create the makers_bnb_test database:
CREATE DATABASE makers_bnb_test;
  • Run the SQL scripts in the db/migrations folder.

To run the MakersBnB app:

shotgun

Navigate to localhost:9393

Testing

rspec

makersbnb's People

Contributors

biancaiordache avatar lbhmichael avatar ghostglass avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

ghostglass

makersbnb's Issues

First User Story

Specification: Any signed-up user can list a new space.

User Story 1
As a user
So I can sign up to MakersBnB
I want to be able to enter my email address and password

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.