router.GET('/get-pets/(\\w+)', (context) => {
return context.collections.pet.functions.getAll({
filters: {
name: context.request.fragments[0]
}
})
})
Aeria is a backend framework written in <10k lines of code. 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.
- 🔒 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