HackerTrans
TopNewTrendsCommentsPastAskShowJobs

acrosett

no profile record

Submissions

[untitled]

1 points·by acrosett·2 tahun yang lalu·0 comments

Eicrud – The Fast-Track Node.js Framework

eicrud.com
1 points·by acrosett·2 tahun yang lalu·0 comments

Where to Store Your JWT: Local Storage vs. Cookies

blog.eicrud.com
1 points·by acrosett·2 tahun yang lalu·0 comments

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

github.com
1 points·by acrosett·2 tahun yang lalu·1 comments

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

github.com
2 points·by acrosett·2 tahun yang lalu·1 comments

comments

acrosett
·2 tahun yang lalu·discuss
Is the content on RSS feeds significantly different that what you can find on platforms like HackerNews or Reddit?
acrosett
·2 tahun yang lalu·discuss
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 tahun yang lalu·discuss
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.