Introduction to Sinatra
Sinatra 101
Objectives
- Build your first web server
- Serve JSON to anyone who requests it
- Use Sinatra to do the above
Notes
- When you add a gem to your
Gemfile
, you need tobundle
bundle exec rackup
allows you to run your server locally
Resources
- Slide Deck
- Driving with Sinatra
- Sinatra in 2 minutes: https://www.youtube.com/watch?v=eEwXaedKnW4&feature=youtu.be