I am a Software Developer who works remotely as a Senior Software Developer at TalentGrid.io. I like writing and talking about .Net, JavaScript, Clean Code, Refactoring and DevOps.
If you have a model called User.js, as default, fetching all records is active via the route api/users. In that route, we paginate rows as default because of performance issues.
I am a Software Developer who works remotely as a Senior Software Developer at TalentGrid.io. I like writing and talking about .Net, JavaScript, Clean Code, Refactoring and DevOps.
Will it be more complete than GraphQL from scratch?
We don't aim to be good than GraphQL. I think it solves different problems. We just focus to create APIs quickly. We need to test this project real-world scenarios more.
So, I should try Adonis and AdonisX. Not sure how to get started.
What about
SELECT
/ projection? And Pagination?If you have a model called
User.js
, as default, fetching all records is active via the routeapi/users
. In that route, we paginate rows as default because of performance issues.You may find full documentation about it in here: adonisx.github.io/03-routes/#auto-...
Also, you can filter data with query parameters as described in here
Will it be more complete than GraphQL from scratch?
So, I should try Adonis and AdonisX. Not sure how to get started.
I always started from scratch, rarely from complete system, like Adonis, Nest, Django or Angular...
We don't aim to be good than GraphQL. I think it solves different problems. We just focus to create APIs quickly. We need to test this project real-world scenarios more.
I can suggest that you to start with AdonisJs Documentation. They are helpful.