项目作者: Apliz

项目描述 :
Bed and breakfast!
高级语言: Ruby
项目地址: git://github.com/Apliz/MakersBnb.git
创建时间: 2020-03-23T12:24:34Z
项目社区:https://github.com/Apliz/MakersBnb

开源协议:

下载


MakersBnb

~ Presented by self.code ~

Soon to be completed. If beside yourself with impatience, please build it yourself and let us know, thanks!

To install dependencies

  1. $ bundle install

To set up DataBase

First setup (if user does not have PostgreSQL installed)

You should have HomeBrew installed

Install PostgreSQL

  1. $ brew install postgresql

After HomeBrew has finished downloading; follow on-screen installation instructions

  1. $ brew services start postgresql

Creating the database

  1. $ psql postgres
  2. postgres=# CREATE DATABASE makers_bnb;
  3. postgres=# \c makers_bnb

Then run the queries saved in ./db/migrations/ in numerical order.

Creating a test database (if required)

  1. $ psql postgres
  2. postgres=# CREATE DATABASE makers_bnb_test;
  3. postgres=# \c makers_bnb

NB this is the same as the previous section with the exception of adding _test\
\
Then run the queries saved in ./db/migrations/ in numerical order.

User stories

The following are the user stories the team generated from the project specification\

  1. As a Host that has a space,\
  2. So that I can advertise my space,\
  3. I would like to be able to list my space.
  4. As a User,\
  5. So that I can see all of the properties,\
  6. I want to be able to see a list of uploaded spaces.
  7. As a User,\
  8. So that I can use the website and it remembers me,\
  9. I would like to be able to sign up my details to the website.
  10. As a Host,\
  11. So that I can list all of my properties,\
  12. I want to be able to list multiple spaces on the website.
  13. As a Host,\
  14. So that I can advertise my space,\
  15. I would like to be able to add a name and description to a space.
  16. As a Host,\
  17. So that I can make a profit,\
  18. I would like to be able to add a list price to my space.
  19. As a Guest,\
  20. So that I can hire a space that I like,\
  21. I would like to be able to request a reservation for 1 night.
  22. As a technician,\
  23. So that customers dont double book,\
  24. I would like to remove availability when a reservation is completed.

To run tests

Run the tests from ./ using the command

  1. $ rspec

running the application

To run the application, run the following command in the root of the project and enjoy :) :

  1. $ rackup

Diagrams

The following diagrams are available in ./assets

  • Class diagram

Makers B&B class diagram

  • Table layout for databases

Makers B&B database template

Tools used during the project

planning phase

  • creately
  • google docs
  • google sheets
  • trello
  • slack
  • zoom
  • notion.so
  • miro

Team who collaborated on this project

and their daily roles

Name Day 1 Day 2 Day 3 Day 4 Day 5
Nima Soufiani Leader Technician Helper Ideas Scribe
Lila Walker Scrum master Leader Technician Helper Ideas
Liam Roberts Scribe Scrum master Leader Technician Helper
Daria Thompson Ideas Scribe Scrum master Leader Technician
Anton Plisnier Helper Ideas Scribe Scrum master Leader
John Baxter Technician Helper Ideas Scribe Scrum master