Make a simple sinatra template
Gemfile
source 'https://rubygems.org'
gem 'sinatra'
gem 'json'
Config.ru
require './app'
run Sinatra::Application
App.rb
require 'bundler'
Bundler.require()
get '/' do
"hello world"
end
Run the app with bundle exec rackup!
Make an about me and favorite things
- make a route called aboutme and one called favorites
- in your app.rb make an array of hashes that hold things about your favorite things
- use html and erb to list your favorite things and properties
- use html and css to make an about me page and style your app
- include links to your new pages in your root route '/'