|
|
|
Show HN: PNGR Stack – Postgres/Nginx/Golang/React in Docker-compose, hot-reload
(github.com)
|
|
2 points
by karlkeefer
1208 days ago
|
|
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. |
|