Hi Daniele! It has, right over here:
Part 2: https://www.freecodecamp.org/news/how-to-build-a-blazing-fast-graphql-api-with-node-js-mongodb-and-fastify-77fd5acd2998/
Part 3: https://medium.com/better-programming/coupling-vue-js-with-a-graphql-api-e9fb830e3db
I am glad that you liked it!
You are totally correct regarding the error codes. The implementation of ‘Boom’ had changed and the easiest way to remedy this is by simply including the ‘Fastify Boom’ plugin.
I still think that it is relative, a good implementation, with good supporting technologies of GraphQL can still be considered as blazing fast when using GraphQL.
Having the freedom to pick the fields that you want to query will result in always having the smallest requests possible. One can argue the transferring less bits…
It is just being proofread, so any day now!
To connect the multiple databases, see the fastify-mongodb plugin, https://github.com/fastify/fastify-mongodb
They have the following demo:
const fastify = require('fastify')()
Great question! It is really situational, in some instances one can get away with hard coding a response or two but if more data is required, this solution quickly becomes tedious and totally unfeasible.
In this case, I normally use Faker.js, a library that allows one to generate fake…
You will need to proceed with the tutorial to the part where you add (post) a car, this will add some data to the database and allow you to get a car.
You can also manually add one, I think that the easiest way is to download “MongoDB Compass”, https://www.mongodb.com/products/compass…