Generate the project
The command installs the API template and configures /api, JSON middleware, CORS, tokens, and generated examples.
aml create-api movies-api
cd movies-api
aml routes
aml serveRoute to controller actions
Routes remain explicit. A path parameter such as {id} becomes a request attribute. Different methods may share a path but perform different actions.
Keep layers separate
Request classes validate input, controllers orchestrate, Data persists, and resource classes select public fields. Do not return database internals directly.