Service API for sveltekit server data sourcing
Pull code & install dependencies
go mod tidy
We use Makefile's to chain together and manage build/deployment processes. Check the Makefile
for more details.
Build server binary
make build
After the binary is built you'll want to run it to listen for incoming requests from the sveltekit client server. We use the Makefile to expedite these processes and declare build
a dependency of the run
command, ensuring the binary is up to date every time it's ran:
make run
This will always build a fresh new binary before executing it.