Toggle navigation
TOC
Project Outline
Deliverables
Presentations
Examples
Sinatra Service Hands On
Scenario
A horoscope web service to allow apps (e.g. a calendar) to place a horoscope into their user interface
It has no “user interface”, that is no web site: Just a set of web services
Reference:
Designing with Class: Heroku, Sinatra, Postgress
Web Service API
GET /fortune/:date/:sign
:date -> date for the fortune, e.g. mar-15-2015
:sign -> sign, e.g. “scorpio”
Returns english language fortune
Status 200 unless parameters are invalid
Implementation
A database of fortunes
migrations
seed data
gem activerecord
gem sinatra-activerecord
“config” and “db” folders are not dictated by sinatra
db: contains the migrations, seed and db data
config: contains database config
Sinatra notes
Notice “modular” form of a sinatra app
Notice use of “shotgun” to auto reload the sinatra app
Notice the need for “config.ru”
Welcome
2018 Syllabus
Calendar of Lectures and homeworks
Resources
Lectures
Pilot Project
Welcome!
Lean Startup
Hypotheses
Working on Teams
MVP
Guest Lecture: Michael Skok
Pilot Project Conclusion
Term Project: Startup
Welcome to Term Projects!
Build Measure Learn
Project Planning
The Pivot
The Engine of Growth
Mockups & Prototypes
Testing Techniques
Term Project: Product
Product Market Fit
Jeffrey Beir: Metrics
Business Models
Pricing Models
Andy Payne: Startup Finance
Intellectual Property
Term Project: Business
Finance for Geeks
Founding a company
Real World Survival Kit
Management and Leadership
Dulcie Madden: Startup Teams
Last day converstation
Term Project
Term Project Outline
Minimum Viable Product Info
Hypotheses
Final Presentations
Background
Learning Goals
Grading
Teachers
Lexicon
Interesting links
Credits and acknowledgements