A simple and responsive habit tracking application built with React, TypeScript, Vite, and Tailwind CSS.
- Track Habits by Week: View and manage your habits using a weekly calendar interface.
- Navigate Weeks: Easily navigate to previous or future weeks to track past performance or plan ahead.
- Add Habits: Simple form to quickly add new habits to track.
- Responsive Design: Clean and usable on both desktop and mobile devices.
- Framework: React 19
- Tooling: Vite, TypeScript
- Styling: Tailwind CSS v4
- Date Utilities: date-fns
- Node.js (version 18 or above recommended)
- npm or another package manager (yarn, pnpm)
-
Clone the repository:
git clone <your-repo-url> cd habit-tracker
-
Install dependencies:
npm install
-
Start the development server:
npm run dev
-
Open your browser and navigate to the local URL provided by Vite (usually
http://localhost:5173).
In the project directory, you can run:
npm run dev: Starts the Vite development server.npm run build: Compiles TypeScript and builds the app for production into thedistfolder.npm run preview: Bootstraps a local static web server that serves the files fromdistfor previewing the production build.npm run lint: Runs ESLint to identify code quality issues.