A RESTful web application which allows the user to record and track data for 2018 Winter Olympics.
Project created while studying at CodeClan, Edinburgh.
- User can create nations, athletes and both individual and team Olympic events.
- Results for each event can be submitted and application will track winners and medal count for each nation.
- All data is persisted on SQL database.
- Ruby with Sinatra and PG Gems.
- PostgreSQL - install instructions here
- Clone repository using
git clone https://github.com/bertiecroll/winter_olympics.git
- create psql database using
psql
thencreate database winter_olympics
- create database tables using
psql -d winter_olympics -f db/winter_olympics.sql
from root project folder - add seed data using
ruby db/seed.rb
from root project folder - start server using
ruby app.rb
from root project folder - application will run on localhost:4567
Ruby.
Sinatra.
SQL (Posgres).
HTML.
CSS.