Dart On Rails
summary
A Rails-like blog is implemented in Dart: working login, registration, session cookie auth and post creation all demoed live. It uses Prisma-generated client for models (requires npx prisma generate + build_runner), Jinja templates (Ginger) for views, and shelf + shelf_router + shelf_static for routing and assets; middleware injects authenticated user into requests and redirects unauthenticated access. Code is opinionated like Rails, the demo runs successfully, and a native Handlebars compiler and auth library are planned.
AI-written summary · about
chapters (17)
- 0:00Introduction and agenda
- 1:07About the speaker and audience
- 2:34MVC pattern overview
- 3:17Ruby on Rails structure
- 5:46Demo application introduction
- 10:43Why Dart for server-side
- 11:28Libraries for Dart MVC
- 14:42Project structure and setup
- 16:10Routing in Dart MVC
- 18:38Controllers and models
- 21:47Prisma ORM setup
- 23:16Views and templates with Jinja
- 24:43Authentication flow
- 25:46User creation process
- 28:58Authenticated middleware
- 31:06Dart MVC structure summary
- 31:50Future plans and Q&A








