Skip to content

Latest commit

 

History

History
69 lines (49 loc) · 911 Bytes

README.md

File metadata and controls

69 lines (49 loc) · 911 Bytes

habit-tracker

Simple Habit-tracking app. Keep statistics of your good (and bad!) habits!

Features

  • Typescript
  • Vue 3
  • Prisma
  • Tailwind
  • Vite

Project Setup

npm install

Compile and Hot-Reload for Development

npm run dev

Start backend server in development

npx nodemon server.ts

Build css

npx tailwindcss -i ./src/input.css -o ./src/assets/output.css --watch

Build & run Docker image

docker build -t habit-tracker .
docker run -it -p 3000:3000 habit-tracker

Type-Check, Compile and Minify for Production

npm run build

Run Unit Tests with Vitest

npm run test:unit

Run End-to-End Tests with Cypress

npm run test:e2e:dev
npm run build
npm run test:e2e

Lint with ESLint

npm run lint