all templates
Blog Frontends

Blog Frontend — Dart

A hand-rolled Dart web SPA — no Flutter, no framework, just the platform.

The minimalist outlier: a Dart web app on package:web with hash routing, direct DOM building and one plain stylesheet — a clear look at what frameworks abstract away. Same API, same four views, compiled with dart compile js and served by nginx.

What's inside

  • Zero-framework SPA with hash routing
  • Post list, detail, login, authoring views
  • JWT auth against the series API
  • Single-command JS compilation
  • All the logic in one ~480-line main.dart
  • Plain CSS — light & dark follow the system

Quickstart

$ git clone https://github.com/devai-io/devai_boilerplates.git$ cd devai_boilerplates/blog-dart$ # start any blog engine on :8080 first$ docker compose up --build   # then open http://localhost:8081

Browse the code

The full source, exactly as it ships in the repo.

loading…
Download .zip
loading tree…

about this series

Part of the devai.io blog series — the same API, four frontend takes.