Documentation
Everything you need to build with njin: models, pages, the REST API and AI agents.
Getting started
Introduction · Installation · Folder structure · Your first model
Models
Defining a model · Field types · Validation · Relations
Vars
Defining vars · Using vars in templates · Drafts and languages
Website
File-based routing · Layouts and pages · Template globals · Reading data
Extending
Helpers · Events · Custom routes · Custom MCP tools
REST API
Authentication · Model endpoints · Filtering and pagination · Files
Access control
Overview · Grants · Tokens and scopes · Code you write
AI agents
Building with a coding agent · Managing content over MCP · Connected apps
Operations
Configuration · Testing · Building and deploying · Updating njin