A simple Svelte based SPA app with a Go API server that can also embed and serve the HTML, JS, and CSS files. Handy for quick and dirty MVPs, prototypes and spikes.
The Client includes:
The Backend includes:
index.html
at all unused paths instead of 404Use degit
:
npx degit adamveld12/svelte-go-template <my project folder>
Then run with make
:
make dev-client # starts the client
make dev-server # starts the server
When you're ready to go to production:
make build # output in .bin folder
MIT