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
- Install Anetos: Go and the
anetostool. - Set up your editor for Go and templ.
- Choose a database: SQLite to start, PostgreSQL or MySQL when you like.
- Build with a coding agent (optional): Claude Code, Codex, Cursor, Gemini CLI or GitHub Copilot.
Your first app
- Create a project and run it with live reload.
- Project structure: what each folder holds.
- Add pages for a model with
make:crud. - Add accounts with
make:auth. - 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.
- Create a project with
--stack=api. - Add accounts to an API: log in with tokens.
- Add endpoints for a model with
make:crud. - 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.