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.
- 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 onhttp://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
- We started with a list of Headline and Nice-To-Have features
- We read through these as a team, splitting them out into:
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
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
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
- Connect to
psql
- 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