1. Create your Nutin to-do application
We are going to build a basic CRUD application in the form of a to-do list.
Estimated time: 15-20 minutes.
Install the CLI
npm install -g @nutin/cli
Create the application
nutin-new nutin-todo
Run the application
cd nutin-todo
npm run dev # Port 9090
Project structure
src/
|---- app/
|---- components/
|---- services/
|---- views/
|---- routes.ts
|---- main.ts
How the pieces fit together
- Views orchestrate
- Components handle UI
- Services hold data
- Events connect them