Ozgur @ozgur.works · Mar 10

Why should we define each route when the best practices say resources should provide basic CRUD routes? Systems should be designed for defactos, not for edge cases. #buildinpublic

0 likes 1 replies

?

Replies

Ozgur · Mar 10

For example, in the code shared above, simply defining the model creates CRUD endpoints automatically. This approach allows you to manage your edge cases while still adhering to best practices.