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.
# 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)
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
Use RSpec to run unit tests and integration tests as used during development.
# Run the tests
rspec
- Ruby
- Sinatra
- PostgreSQL
- BCrypt
- Rack
- RSpec