A starter template for building APIs with the current Spry file-routing runtime.
dart pub getdart run spry serveThe starter uses the current Spry project shape:
routes/
index.dart
users/
index.get.dart
index.post.dart
[id].get.dart
[id].patch.dart
[id].delete.dart
spry.config.dart
routes/ is the source of truth. spry.config.dart selects the runtime target and local dev server settings.
dart testThe test suite boots the app through dart run spry serve, so it exercises the real generated runtime instead of a hand-written compatibility layer.
GET /GET /usersPOST /usersGET /users/:idPATCH /users/:idDELETE /users/:id
Read more at spry.medz.dev.