You who are tired of seeing examples of REST API in Node using Express will be very interested in this boilerplate that I ended up developing using Traefik, Docker, Docker Compose, Fastify, JWT and Mongodb.
https://github.com/pinceladasdaweb/docker-fastify-restful-api
Happy coding!
Top comments (1)
I think that your docker-compose file is wrong. I mean you probably should to avoid using
npm run dev
on production. Hovever I might be wrong