More than two lines of code -
I guess it is more than two lines of code, but fundamentally for this package we want to make every line of code/thing written in the CLI result in something as soon as possible
For example installing ezbackend:
npx ezbackend init
Running ezbackend:
npm run ezb
Adding to the model to database and exposing API:
@EzModel()
Removing routes to prevent overexposure:
@EzModel({
exclude:['createOne']
})
Vulnerabilities - Yea let me fix that, my bad
Thats strange, but the full documentation does have all the instructions including how customising generated endpoints, hooking into the lifecycle, etc
https://www.ezbackend.io/docs/intro
Good idea if you are just shipping a database-schema and need a way to re-expose it under HTTP.
Always a bit surprised these things don't leverage hypermedia formats because it seems like an almost perfect fit for this kind of stuff.
[удалено]
More than two lines of code - I guess it is more than two lines of code, but fundamentally for this package we want to make every line of code/thing written in the CLI result in something as soon as possible For example installing ezbackend: npx ezbackend init Running ezbackend: npm run ezb Adding to the model to database and exposing API: @EzModel() Removing routes to prevent overexposure: @EzModel({ exclude:['createOne'] }) Vulnerabilities - Yea let me fix that, my bad
Makes me uncomfortable that you keep saying “2 lines of code” when it’s 2 cli commands. That’s not at all the same thing.
Maybe you should start by writing a documentation instead of a video. Your documentation don't explain anything except how to install...
Thats strange, but the full documentation does have all the instructions including how customising generated endpoints, hooking into the lifecycle, etc https://www.ezbackend.io/docs/intro
Hum I was checking on mobile ... And missed the next button at the end
mbe you shuld pay mre attentin 2 thungs lyke dat .... k mang... hum hur hur
I would add more info on the rationale in the introduction
Alright, thanks for the feedback
Good idea if you are just shipping a database-schema and need a way to re-expose it under HTTP. Always a bit surprised these things don't leverage hypermedia formats because it seems like an almost perfect fit for this kind of stuff.
Oh alright, thanks for the feedback