Our great sponsors
-
hackathon-starter
Hackathon Starter Template (NextJS, Hono, ShadcnUI, Prisma, Postgres, Docker) (by Code42Cate)
-
Nodemon.io
Monitor for any changes in your node.js application and automatically restart the server - perfect for development
-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
TL;DR: Check out this docker-compose file and the official documentation
That's already pretty good, but as you already know it's a PITA to work with this during development. You will have to rebuild your Docker images whenever you change your code, even though your apps will probably support hot-reloading out of the box (or with something like Nodemon if not).
Related posts
- Set up Hot Reload for Typescript ESM projects
- Guia para Iniciantes: Criando uma API com Node.js, PostgreSQL e Padrão MVC
- Building a React/Express Stripe Donation Form
- Best ways to fix Nodemon error- nodemon.ps1 cannot be loaded because running scripts is disabled on this system.
- Nodemon not watching for file changes