HackerTrans
トップ新着トレンドコメント過去質問紹介求人

acrosett

no profile record

投稿

[untitled]

1 ポイント·投稿者 acrosett·2 年前·0 コメント

Eicrud – The Fast-Track Node.js Framework

eicrud.com
1 ポイント·投稿者 acrosett·2 年前·0 コメント

Where to Store Your JWT: Local Storage vs. Cookies

blog.eicrud.com
1 ポイント·投稿者 acrosett·2 年前·0 コメント

Show HN: Eicrud – A CRUD/Authorization framework based on NestJS

github.com
1 ポイント·投稿者 acrosett·2 年前·1 コメント

Eicrud: A CRUD/Authorization Node.js framework to fight complexity

github.com
2 ポイント·投稿者 acrosett·2 年前·1 コメント

コメント

acrosett
·2 年前·議論
Is the content on RSS feeds significantly different that what you can find on platforms like HackerNews or Reddit?
acrosett
·2 年前·議論
I made this framework to reduce complexity in large web applications. It focuses on the data model first and CRUD access to this data.

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.
acrosett
·2 年前·議論
I made this framework in an attempt to reduce complexity in large web applications.

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.