Local development setup
Set up your local itemized development environment, run checks, and build from source.
This walkthrough takes you from cloning the repository to running itemized locally, verifying tests, and building a production binary.
Contribution policy: itemized is open source (AGPL-3.0), not open contribution—external pull requests are not accepted. Bug reports and feature ideas are always welcome via GitHub Issues, and you are free to build from source or maintain your own fork.
Prerequisites
- Go 1.26+
- Node.js 22+ and
npm - Make
1. Clone and install dependencies
git clone https://github.com/itemizedapp/itemized.git
cd itemized
cd web && npm ci && cd ..
2. Run the app locally
Start the Go backend in demo mode with a temporary database:
DEMO_MODE=true DB_PATH=/tmp/itemized-demo.db go run ./cmd/itemized
Open http://localhost:8080 to interact with the seeded household inventory. For frontend hot-reload, run cd web && npm run dev alongside the Go server.
3. Explore, modify, and run checks
- Review Architecture overview and Package map to locate the files for any area you want to inspect or customize in a fork.
- If you add or modify a route, Settings section, environment variable, API endpoint, or
internal/package, update the corresponding Markdown page underdocs/and runmake docs-build. - Run
make checkto execute documentation checks,go vet ./...,go test ./..., and frontend tests. - Run
make buildto verify the production React bundle and embedded Go binary compile cleanly.