A tiny single-page notes app built with Vite, React, and TypeScript.
- Create a note with a required title and optional body
- View all saved notes in most-recently-updated order
- Edit an existing note while keeping the same note identity
- Delete a note with confirmation
- Persist notes locally in the same browser with
localStorage
Saved notes are stored under the browser key:
notes-app:notes:v1
- Node.js 20+ (validated here with Node 22)
- npm 10+
npm install
npm run devThen open the local Vite URL shown in the terminal.
npm testnpm run buildsrc/
├── App.tsx
├── main.tsx
├── test/
└── features/notes/
├── components/
├── model/
├── state/
├── storage/
└── utils/
tests/
├── contract/
├── integration/
├── unit/
└── helpers/
Feature planning artifacts live in:
specs/002-notes-app/spec.mdspecs/002-notes-app/plan.mdspecs/002-notes-app/tasks.mdspecs/002-notes-app/quickstart.md