A simple habit tracker built with Next.js, React, TypeScript, and SQLite.
The app is centered around a straightforward daily checklist: create habits, mark them complete, and keep a lightweight record of how things are going. It also includes a small insights view for monthly consistency, but the core idea is intentionally simple.
- Daily habit checklist
- Yes/no, numeric, timed, and multi-step habits
- Notes on individual entries
- Habit management for creating, editing, reordering, and archiving habits
- Basic insights for monthly completion, streaks, and consistency
- Next.js 14
- React 18
- TypeScript
- SQLite via
better-sqlite3 - Vitest and Testing Library
Install dependencies:
npm installStart the development server:
npm run devThen open http://localhost:3000.
Run the app in development:
npm run devBuild for production:
npm run buildStart the production build:
npm run startRun tests:
npm test/shows the main habit checklist and quick stats/manageis where habits are created and edited/insightsshows the monthly consistency view
- Data is stored locally in SQLite.
- The project is designed to stay small and easy to understand rather than trying to be a full productivity system.