To create a mock version of AirBnB that allows the user to create, search and book venues. We made an extra step by making possible adding a venue as a favourite.
We wanted to use this experience to learn everything we could, having that in mind we tried to integrate both Sinatra a Jquery on the same project.
- Had a Stand Up every day to choose and separate task.
- Had a midday reunion to check the team progress.
- Had a constant communication flow and asked each other for help.
- Had a Retro every night to make an assessment of the day's activities and set new tasks for the next day.
- How to set up databases.
- How to use Jquery and Sinatra to make post and get requests.
- That making a whole project in one week is possible if you work hard.
- Communication changes everything.
- Coding with a good team is fun.
- Ruby version should be "2.4.1", run
rvm install 2.4.1
to get it, thenrvm 2.4.1
to use that ruby version. - Check that "postgresql" is installed. if not, follow the official instructions on how to install it.
- Then install the bundler
gem install bundler
, and install the gems on the "Gemfile" by runningbundle install
. - in the command line type
psql psotgres
, thencreate database makersbnb_test;
you should seeCREATE DATABASE
as an output, nowcreate database makersbnb_development;
now close postgresql\q
- If you followed the previous steps
bundle exec rspec
should do the work
- in the command line type
rackup config.ru -p 2000
- go to your browser and type "http://localhost:2000/"
- Ruby: -- Sinatra.
- Javascript: -- Jquery.
- DB: -- Postgresql. -- Datamapper.