acrosett
Where to Store Your JWT: Local Storage vs. Cookies
Eicrud is in active development and issues are taken seriously. If you want to try the tool and have any questions I'll happily answer them.
Show HN: Eicrud – A CRUD/Authorization framework based on NestJS
https://github.com/eicrud/eicrud
Eicrud is a CRUD/Authorization framework extending NestJS.It's a tool for building scalable, secure Node.js server applications.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...) whenever you need a new service. By...
Eicrud: A CRUD/Authorization Node.js framework to fight complexity
It focus on data model first and CRUD access to this data.
You defines the access rules for you data, it's easy to keep track of it. Let's say you have an object UserBankDetails, it's obvious it should only be read/modified by its owner or admins: you can write that in simple terms. Now you have UserProfile, who contains public info like the biography and socials of the user, let's make it readable by guests (everybody).
Once you defined you data with its access rules you get an operational CRUD service that will cover 80% of your needs.
For the 20% remaining you can create commands, which follow a similar pattern of DTO/authorization.
Now another thing that increase complexity in large applications is the microservices pattern if implemented wrong. Eicrud handles that with a simple configuration: you can group your CRUD services into microservices and they will call each other over the network. If something goes wrong with you architecture you can easily go back to monolithic.
I really think unnecessary complexity is the root of all problems in web development, let me know what you think.