Settings

Theme

Show HN: PNGR Stack – Postgres/Nginx/Golang/React in Docker-compose, hot-reload

github.com

2 points by karlkeefer 3 years ago · 0 comments · 1 min read

Reader

I originally shared this here [a couple of years ago](https://news.ycombinator.com/item?id=21612106) - 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.

No comments yet.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection