Build a small full-stack habit tracker in the current directory using Node.js with NO npm dependencies (built-in modules only).
- server.js: a built-in http server on the port in the PORT env var (default 3000) that serves the frontend and a JSON REST API.
- API: GET /api/habits, POST /api/habits {name}, POST /api/habits/:id/checkin (checks in for today, idempotent per day), DELETE /api/habits/:id. Each habit returned includes its current streak in days.
- Persist data to data.json.
- A clean single-page frontend (public/index.html) to add habits, check in, see streaks and delete.
- package.json with "start" and "test" scripts; tests use node:test and cover the streak logic, including a missed day breaking the streak.
Run the tests yourself before finishing.
