1 - Crear y completar archivo .env
(basarse en .env.example)
2 - Ejecutar: npm install
3 - Ejecutar: npm run dev
4 - Acceder a: http://localhost:PORT/
(PORT especificado en .env)
- Se require una conexión con Mongodb
Pendientes:
- Schemas / Swagger (endpoints parameters)
Sitios investigados:
- https://www.fastify.io/docs/latest/Reference/Validation-and-Serialization/
- /~https://github.com/fastify/fastify-swagger#readme
- /~https://github.com/OAI/OpenAPI-Specification/blob/main/versions/2.0.md
- https://blog.devgenius.io/server-side-development-with-fastify-async-and-await-and-route-prefixes-d5704eb5206
- https://jaywolfe.dev/rapidly-build-a-nodejs-rest-api-with-fastify-postgresql-and-swagger-documentation/
- /~https://github.com/fastify/example
- /~https://github.com/fastify/fastify
- https://stackoverflow.com/questions/70478820/unable-to-deploy-nodejs-fastify-app-in-azure-app-service-linux
- https://dev.to/ruanmartinelli/how-to-use-schemas-on-fastify-for-fun-and-profit-25e9
- https://dev.to/eomm/why-should-i-prefer-fastify-to-expressjs-44c4
- https://www.fastify.io/docs/latest/Reference/Routes/#route-prefixing
- /~https://github.com/useaurora/api/blob/main/app.js
- /~https://github.com/fastify/fastify-autoload
- https://dev.to/itsrennyman/how-i-structure-my-fastify-application-1j93
- https://dev.to/thomasbnt/perspective-api-20al
- https://dev.to/thomasbnt/create-a-fastify-server-23lg
- https://dev.to/hypeddev/es-modules-in-fastify-349f
- /~https://github.com/fastify/fastify-express
- https://json-schema.org/learn/getting-started-step-by-step
- https://dev.to/cristiandi/demo-api-using-fastify-48jo
- https://dev.to/dailydevtips1/building-a-fastify-nodejs-server-296g
- https://www.fastify.io/docs/latest/Guides/Plugins-Guide/
- /~https://github.com/gquittet/graceful-server
- /~https://github.com/fastify/fastify-sensible
- /~https://github.com/fastify/fastify-nextjs
- /~https://github.com/fastify/fastify-helmet
- /~https://github.com/fastify/fastify-env
- /~https://github.com/fastify/fastify-swagger
- https://www.fastify.io/ecosystem/
- https://www.fastify.io/docs/latest/Guides/Testing/
- https://www.fastify.io/docs/v3.0.x/Routes/
- https://www.fastify.io/docs/latest/Guides/Getting-Started/
- https://www.fastify.io/
- /~https://github.com/Huachao/vscode-restclient
- https://stackoverflow.com/questions/69063074/rest-client-vscode-extention-is-not-sending-json-data