getting-started
StableGetting Started
- Entity files describe stored business data.
- Runnable files execute logic for APIs, cron jobs, and listeners.
- Request and response contracts come from node metadata, not inline wrappers.
Small Mental Model
Nenu is App Marché’s app language. You use it to define data, read request values, run business logic, persist changes, shape responses, and manage page-local state where the editor uses Nenu.
- Entities define stored records and their fields.
- APIs run on HTTP requests.
- Cron represents scheduled backend work.
- Listener represents event-driven backend work.
File Types
A .nenu file is either an entity file or a runnable file. Shared declarations such as type, enum, default, and fn can appear in both.
1Task task = Task {2 title: request.title3 done: false4}56save(task)78respond {9 success: true10}That runnable example creates an entity value, saves it, and returns a response object. The request object exists because the API node carries request metadata.