router.GET('/get-pets/(\\w+)', (context) => {
return context.collections.pet.functions.getAll({
filters: {
name: context.request.fragments[0]
}
})
})
Aeria is a backend framework tuned for the enterprise. It features everything needed to build secure and auditable environments: routing, model definition, runtime validation, rate limiting, et cetera. It also tries to combine the richness of features that will ensure a fast-paced development with a elegant and minimalist coding style that will bring joy to work time.
- 🔒 Secure by design
- 🤌 Minimalistically crafted DX
- âš¡ Fast reloads in watch mode with esbuild
- 🪞 Automatic reflection of HTTP endpoints
- 🔋 Batteries included (authentication, access control, file management, logging, etc)
- 😱 and much more!
$ npm create -y aeria-app hello-world