A web app that lets hosts offer up a list of spaces to rent and lets renters rent them out
As a user
So that I can start renting out spaces
I would like to be able to sign up
As a user
So that I can continue renting spaces
I would like to be able to sign in
As a user
So that I can continue using the website
I would like to be able to stay signed in
As a host
So that I can rent out a space
I would like to list a space
As a host
So that I can rent out all my spaces
I would like to list multiple spaces
As a host
So that I can track different spaces
I would like to be able to name my space
As a host
So that I can encourage uptake of my space
I would like to provide a short description of my space
As a host
So that I can charge customers
I would like to list a price per night
As a host
So my space can be rented as much as possible
I would like to be able to offer a range of dates where the space is available
As a renter
So that I can have somewhere to sleep
I would like to be able request to hire a space for one night
As a host
So that I can vet people
I would like to be able to approve a renter's request
As a renter
So I know when a space is unavailable
I would like to not be able to book that space
As a host
So that my space can be rented as long as possible
I would like spaces to be available until booking is confirmed
- Clone this repo
git clone [email protected]:Sindex42/MakersBnB.git
- Change directory
cd MakersBnB
- Run bundle to install dependencies
bundle install
- Install postgresql
brew install postgres
- Create the development database
createdb makers_bnb_development;
- Create the test database
createdb makers_bnb_test;
- Set up the tables
db:auto_migrate
- Set up the test environment tables
db:auto_migrate RACK_ENV=test
- Run rackup to start the server
rackup
- Open up a browser and navigate to the following page http://localhost:9292
- Run the tests with
rspec
in the project root folder - Additional code coverage is checked by the use of Travis CI
- Add ability to approve or reject any bookings as a host
- Implement email notifications for any actions undertaken in the webapp