Skip to content
Getting started

Getting started

From nothing to an app with pages, accounts and tests, in the order you’d do it. About fifteen minutes; the tutorial then builds a whole app in an hour.

Installation

  1. Install Anetos: Go and the anetos tool.
  2. Set up your editor for Go and templ.
  3. Choose a database: SQLite to start, PostgreSQL or MySQL when you like.
  4. Build with a coding agent (optional): Claude Code, Codex, Cursor, Gemini CLI or GitHub Copilot.

Your first app

  1. Create a project and run it with live reload.
  2. Project structure: what each folder holds.
  3. Add pages for a model with make:crud.
  4. Add accounts with make:auth.
  5. Test and build for production.

Tutorial: build an issue tracker: accounts, pages by hand, htmx, search, events, a queue and email, step by step.

An API instead: a JSON API for a mobile app or a front end built separately.

  1. Create a project with --stack=api.
  2. Add accounts to an API: log in with tokens.
  3. Add endpoints for a model with make:crud.
  4. Tutorial: build an API: bookmarks that are each user’s, tokens for scripts, tests and the API’s OpenAPI description, in half an hour.

Then the guides take one feature at a time, and the concepts explain how Anetos works.