Skip to content

bloppo/test-spec

Repository files navigation

Small Notes App

A tiny single-page notes app built with Vite, React, and TypeScript.

Features

  • 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

Storage

Saved notes are stored under the browser key:

  • notes-app:notes:v1

Requirements

  • Node.js 20+ (validated here with Node 22)
  • npm 10+

Run locally

npm install
npm run dev

Then open the local Vite URL shown in the terminal.

Test

npm test

Build

npm run build

Project structure

src/
├── App.tsx
├── main.tsx
├── test/
└── features/notes/
    ├── components/
    ├── model/
    ├── state/
    ├── storage/
    └── utils/

tests/
├── contract/
├── integration/
├── unit/
└── helpers/

Specification artifacts

Feature planning artifacts live in:

  • specs/002-notes-app/spec.md
  • specs/002-notes-app/plan.md
  • specs/002-notes-app/tasks.md
  • specs/002-notes-app/quickstart.md

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors