Giter Site home page Giter Site logo

makers_bnb's Introduction

Makers_bnb

Project Description

This project was inspired by AirBnb, it will allow property owners to list multiple properties to rent, and renters to be able to requst to book that property.

Our Team

Mabon Mabon

Ed Ed

Shakira Shakira

Tomisin Tomisin

How To Run

  • You will need
    • A version of ruby
    • A PostgresDB instance
  • Clone the repo git clone https://github.com/rhianeKobar/Makers_bnb.git
  • run bundle install to install dependencies
  • run rackup to launch the project on http://localhost:9292
  • Follow the instructions in db/migration for SQL queries
  • If you have a password connection to your postgres instance, you will need to set up a .env file with
    • DB_DEV_NAME
    • DB_TEST_NAME
    • DBUSER
    • DBPASSWORD
  • This application uses Becrypt for authentication, automatic salts are applied but peppers are also stored in the .env with the name:
    • PEPPER

Our Approach

High level analysis of requirements

MVP v1
- (anyone) Showing listed properties
- (anyone) Adding Properties
- Property has availability Bool

MVP v2
- Renter + Listner Signup
- Renter + Listner Authentication

Features to Add Later

- Lister list a new space
- Lister offer range of dates
- Lister Accept hire request
- Renter request hire
- Renter cannot see a booked property

Breaking down User Stories

MVP
As a User
So that I can choose a place to stay
I want to see all the available properties

As a User
So that I can rent out my property
I want add properties to the current listing

As a User
So that I don't book an unavailable property
I want only see available properties
Completed nice to haves
As a User
So that I can return to the website
I want to be able to log in with my sign up details

As a User
So that I can have a profile
I want to sign up to makersbnb



Modelling



Database CRC cardsDatabase CRC cards


Domain ModelDomain Model


HTTP view and controllerHTTP view and controller


Database set-up

  1. Connect to psql
  2. We need to create two databases, for the database follow the commands in
    Database: db/migrations/database_setup.sql file
    Test_database: db/migrations/test_db/test_database_setup.sql

makers_bnb's People

Contributors

emdevelop avatar maby0 avatar rhianekobar avatar tomisinj avatar

Watchers

 avatar  avatar

makers_bnb's Issues

MVP User Story 7

As a User
So that I can rent a property
I want to request to book a property I have seen on the main page

MVP User Story 4

As a User
So that I can have a profile
I want to sign up to makersbnb

MVP User Story 2

As a User
So that I can rent out my property
I want add properties to the current listing

MVP User Story 9

As a User
So that I can find propertys at the time I want to travel
I want to specify the date of my trip

MVP User Story 8

As a User
So that I can hire out my property on multiple days
I want to be able to offer a range of dates when my property is available

MVP User Story 3

As a User
So that I don't book an unavailable property
I want only see available properties

MVP User Story 1

As a User,
So that I can choose a place to stay,
I want to see al the available properties.

MVP User Story 10

As a User
So that I cannot try and rent an unavailable property
I don't want to see a booked property on the main page for my dates

MVP User Story 6

As a User
So that I can see which of my properties are booked
I want to get a request when my propety is booked and see on screen

MVP User Story 5

As a User
So that I can return to the website
I want to be able to log in with my sign up details

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.