summaryrefslogtreecommitdiff
path: root/app/routes.ts
diff options
context:
space:
mode:
authoryyamashita <yyamashita@mosquit.one>2026-05-09 11:21:28 +0900
committeryyamashita <yyamashita@mosquit.one>2026-05-09 11:21:28 +0900
commitcd8787b77dadf752826a967d404b718b3ec92601 (patch)
treea1e5471ba59404caf5c3c7684a4cfc08027a5a4b /app/routes.ts
parent08c410c28eeb3d7a4c41014d8926b765441546c4 (diff)
Add JSON API endpoints and CLI script for band/artist management
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'app/routes.ts')
-rw-r--r--app/routes.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/routes.ts b/app/routes.ts
index a4e737f..d02abf7 100644
--- a/app/routes.ts
+++ b/app/routes.ts
@@ -2,6 +2,8 @@ import { type RouteConfig, index, route } from "@react-router/dev/routes";
export default [
index("routes/home.tsx"),
+ route("/api/bands", "routes/api-bands.tsx"),
+ route("/api/artists", "routes/api-artists.tsx"),
route("/bands/new", "routes/band-new.tsx"),
route("/bands/of/:uuid", "routes/band-by-uuid.tsx"),
route("/bands/named/:slug", "routes/band-by-slug.tsx"),