February 28, 2023
This is more like a work-in-progress type of thing, but a few weeks to go I had to write some kind of project skeleton to to demonstrate how to use Fastify and their awesome schema feature (which probably deserves it's own blog post) and also include Prisma for the database.
This is the result of such task:
https://github.com/danielm/fastify-prisma-swagger-rest-boilerplate
Well, kinda... It's pending some review and the original Schema was simply reduced to a basic Product-Category relation it worth a look while searching for examples.
More details and documentation can be found at the Readme.md file, how to run it , compile docker images, etc..
"Sadly" the project uses MongoDB but is something I'm gonna move away when I get the time to probably Postgress or SQLite.
I'm a 32-years old programmer and web developer currently living in Montevideo, Uruguay. I been programming since I was about 15 y.o, and for the past 12 actively working in the area.
February 28, 2023 - 20:01
Javascript, Fastify, Nodejs, Typescript, Prisma, Docker, Swagger, Boilerplate,