Show HN: PNGR Stack – Postgres/Nginx/Golang/React in Docker-compose, hot-reload https://ift.tt/fVBR1ht

Show HN: PNGR Stack – Postgres/Nginx/Golang/React in Docker-compose, hot-reload I originally shared this here [a couple of years ago]( https://ift.tt/CsHGLQX ) - since then I've upstreamed a bunch of improvements that I've made to various forks I have running in the wild. It's substantially different from the version I originally shared, at this point. Some highlights for dev ergonomics: - Unejected create-react-app w/ typescript for the front-end - Themeable semantic-ui component library tied into the hot-reload loop - json-web-token based user sessions, including middleware with token refresh - sql bindings via sqlc (autogenerates db mocks, too, all hot-reload) - server-side rendering with a sidecar container (prerender) - stubbed out backend "worker" container for async tasks - pre-baked database migration pattern This has been a really productive (and performant!) starter project for me - hopefully it's useful to others. https://ift.tt/fI53OVL February 23, 2023 at 11:09PM

Post a Comment

0 Comments