/Makersbnb

BnB app developed by 'team-fire'

Primary LanguageRuby

MakersBnB

Team Fire 🔥

Our team challenge was to develop a BnB application over the period of 1 week starting with a Ruby / Sinatra framework.

We used notion to capture the project specification and create user stories. We developed the application using agile methodology and used Trello for our tickets.

'Image of our Trello board'

Get Started

Install

# Install gems
bundle install

# Install postgresql.
$ brew install postgresql

# (...)

# Run this after the installation
# to start the postgresql software
# in the background.
$ brew services start postgresql

# You should get the following output:
==> Successfully started `postgresql` (label: homebrew.mxcl.postgresql)

Run

This application uses rack as its server.

# Run the server (better to do this in a separate terminal).
rackup

Now go to http://localhost:9292/ in your web browser

Testing

Use RSpec to run unit tests and integration tests as used during development.

# Run the tests
rspec

Tech

  • Ruby
  • Sinatra
  • PostgreSQL
  • BCrypt
  • Rack
  • RSpec