backend

command
v0.0.103 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 28, 2026 License: MIT, MIT Imports: 5 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

PROJECT_NAME

Generated by kool create go-react.

Usage

go run ./

Development

Dev Mode

Dev mode uses Vite's dev server for frontend hot-reload. Run these in two terminals:

Terminal 1 - Start the Vite dev server:

cd PROJECT_NAME-react && bun run dev

Terminal 2 - Start the Go backend in dev mode:

go run ./ --dev

The Go server proxies frontend requests to Vite on port 5173, so you get instant hot-reload for React changes.

Release Mode (Production Build)
  1. Build the frontend:
go run ./script/build
  1. Run the server (embeds the built frontend):
go run ./
Build Binary
go run ./script/build && go build -o /tmp/PROJECT_NAME ./

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
script
build command

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL