Kyrux
Back

Project Structure

project/
├── main.go
├── .env
├── .env.example
├── apps/
│   └── blog/
│       ├── routes.go          ← URL definitions
│       ├── views/
│       │   └── views.go       ← page handlers
│       ├── models/
│       │   └── models.go      ← structs and queries
│       ├── templates/
│       │   ├── base.html      ← base template
│       │   └── exemplo.html   ← example page generated by the CLI
│       └── statics/
│           ├── css/
│           └── js/
├── core/                      ← framework core (do not edit)
└── statics/                   ← global static files

blog/ above is an example — what startapp blog would generate. The only app the framework already ships with, installed by default, is apps/meta (robots.txt, sitemap.xml, security.txt — see SEO & Security.txt); everything else under apps/ is what you create for your project.