Blitz is in beta! 🎉 1.0 expected in May or June
Back to Documentation Menu

blitz routes

Alias: blitz r

Display all Blitz URL Routes

Examples

> blitz routes

✔ Compiled

┌──────┬─────────────────────────────────────┬───────────────────────────────────┬──────┐
│ HTTP │ Source File                         │ URI                               │ Type │
├──────┼─────────────────────────────────────┼───────────────────────────────────┼──────┤
│ GET  │ app/pages/index.tsx                 │ /                                 │ PAGE │
│ GET  │ app/pages/ssr.tsx                   │ /ssr                              │ PAGE │
│ GET  │ app/auth/pages/login.tsx            │ /login                            │ PAGE │
│ GET  │ app/auth/pages/signup.tsx           │ /signup                           │ PAGE │
│ GET  │ app/users/pages/users/index.tsx     │ /users                            │ PAGE │
│  *   │ app/api/auth/[...auth].ts           │ /api/auth/[...auth]               │ API  │
│ POST │ app/auth/mutations/login.ts         │ /api/auth/mutations/login         │ RPC  │
│ POST │ app/auth/mutations/logout.ts        │ /api/auth/mutations/logout        │ RPC  │
│ POST │ app/auth/mutations/signup.ts        │ /api/auth/mutations/signup        │ RPC  │
│ POST │ app/users/mutations/trackView.ts    │ /api/users/mutations/trackView    │ RPC  │
│ POST │ app/users/queries/getCurrentUser.ts │ /api/users/queries/getCurrentUser │ RPC  │
│ POST │ app/users/queries/getUser.ts        │ /api/users/queries/getUser        │ RPC  │
│ POST │ app/users/queries/getUsers.ts       │ /api/users/queries/getUsers       │ RPC  │
└──────┴─────────────────────────────────────┴───────────────────────────────────┴──────┘
✨  Done in 4.60s.

Idea for improving this page? Edit it on GitHub.