code map
Admin (you)

Hey @Router, I want to build a new route: GET /users/:id — I just need to print a short profile.

Last updated 12 mins ago

Router

Gotcha! I’ll match GET /users/:id and pass you a Request object. Here's a preview of the param schema: { id: string }

Last updated 11 mins ago

Security

“This route smells sensitive. Want me to enforce token auth? Also, you might need a role check.

Last updated 9 mins ago

Schema

Let’s define what kind of User we’re returning. Do we expose email? Birthdate? Here’s a safe schema to start with.

Last updated 8 mins ago