Re:Show HN: Copper – A Go framework for your projects
by synergy20 on Saturday July 02, 2022 @11:53AM
(#31960059)
So go is trying to be a server-side-render framework here, what about the SPA style in that go is a simple json-api server, and let SPA to do all the template and render, is gin the best framework for that? new to golang here.
[ Parent
| on HN ]
Re:Show HN: Copper – A Go framework for your projects
by tusharsoni on Saturday July 02, 2022 @12:42PM
(#31960483)
I think that remains a very valid use case. In Copper, you can create one of those with the CLI. For example `copper create -frontend=vite:react github.com/nasa/starship` will create a react app with a JSON backed API ready to go
Re:Show HN: Copper – A Go framework for your projects
by AlphaSite on Saturday July 02, 2022 @12:26PM
(#31960354)
I found Echo a better framework than gin, since it cleans up some of the warts around error handling etc.
As for database, jet is my favourite thus far.