Habits App Development

Evelina

Evelina Satkauskė

Habits App

A modern, mobile-first habit tracking application built with Vue 3, TypeScript, and Vite. Track your daily habits, monitor progress, and build consistent routines.

Features

📱 Mobile-first responsive design
📅 Weekly habit tracking
📆 Calendar date picker for easy navigation
✅ Mark habits as complete/incomplete
⏹️ Stop/resume habits
🗑️ Delete habits with confirmation
📊 View past habits and progress
🚫 Prevention of future date entries
💾 Local storage persistence

Screenshots

Prerequisites

Before you begin, ensure you have installed:
Node.js (v14.0.0 or higher)
npm (usually comes with Node.js)

Installation

Clone the repository:
git clone https://github.com/EveSatke/habits-app.git
cd habits-app
Install dependencies:
npm install

Development

To start the development server:
npm run dev

Testing

Run unit tests with Vitest:
npm run test

End-to-End Testing with Playwright

To run Playwright end-to-end tests, use:
npm run test:e2e
Make sure your development server is running before executing the tests.
Configuration
Create a .env file in the root directory with the following content:
PLAYWRIGHT_BASE_URL=http://localhost:5173
This URL should match your development server address. The default is set to Vite's default port.

Building for Production

To create a production build:
npm run build
To preview the production build:
npm run preview

Tech Stack

Vue 3 - Frontend framework
TypeScript - Type safety
Vite - Build tool
Pinia - State management
Vue Router - Routing
Tailwind CSS - Styling
Headless UI - UI components
Hero Icons - Icons
date-fns - Date utilities
Vitest - Unit testing
Playwright - End-to-end testing
Like this project

Posted Sep 17, 2025

Developed a mobile-first habit tracking app using Vue 3 and TypeScript.