2023-01-31 02:40:19 +01:00
2023-01-31 02:40:19 +01:00
2023-01-31 02:40:19 +01:00
2023-01-31 02:40:19 +01:00
2023-01-31 02:40:19 +01:00
2023-01-31 02:40:19 +01:00
2023-01-31 02:40:19 +01:00
2023-01-31 02:40:19 +01:00
2023-01-31 02:51:16 +01:00
2023-01-31 02:40:19 +01:00
2023-01-31 02:40:19 +01:00
2023-01-31 02:40:19 +01:00
2023-01-31 02:40:19 +01:00

Website 2

Development

# First start in background the go backend on port :4000
$ go run -v ./cmd/server

# The start the frontend server on port :3000
$ pnpm run dev

Production

# scaffold the whole server without actually starting the server, this will generate a JSON file containing all routes mount-points for the ViteJS build
$ go run -v ./cmd/build

# build all frontend pages and assets
$ pnpm run build

# Now we have all the files and could also ship everything in a single binary
$ go build -o ./out/bin/server ./cmd/server
S
Description
Servizio per il nuovo sito del PHC
Readme
41 MiB
Languages
SCSS 44%
Astro 32.4%
TypeScript 20%
JavaScript 3.6%