Introduction
Eicrud is CRUD/Authorization framework meant to extend a Nestjs application. It works with Mikro-orm entities guarded with CASL and class-validator.
Philosophy
Most of the time, a web app has some CRUD functionality as its base. Eicrud attempts to abstract this into a simple and easy-to-use API, so you don't have to re-write boilerplate code (controllers, validations, db queries...) every time you need a new service. By centering everything around CRUD entities, Eicrud provides a framework for writing complex applications that are easy to read, test and maintain. Eicrud also emphasizes "default security" for its components, where everything is forbidden until allowed.
Compatibility
- HTTP platform: Fastify
- Databases: MongoDB and PostgreSQL
(others supported by Mikro-orm may work with a custom dbAdapter)
Getting started
Check out the installation guide.