https://github.com/michaelholley/habitkit
A simple and intuitive app to track, build, and maintain your habits for a better you!
https://github.com/michaelholley/habitkit
daisyui habit-tracking nixpacks prisma svelte sveltekit tailwindcss tracker
Last synced: 7 months ago
JSON representation
A simple and intuitive app to track, build, and maintain your habits for a better you!
- Host: GitHub
- URL: https://github.com/michaelholley/habitkit
- Owner: MichaelHolley
- Created: 2025-01-04T12:56:38.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2025-03-06T19:42:29.000Z (7 months ago)
- Last Synced: 2025-03-06T20:28:31.383Z (7 months ago)
- Topics: daisyui, habit-tracking, nixpacks, prisma, svelte, sveltekit, tailwindcss, tracker
- Language: Svelte
- Homepage: https://habitkit.michaelholley.de/
- Size: 261 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 16
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# HabitKit
[](https://github.com/MichaelHolley/HabitKit/actions/workflows/nixpacks_publish.yml)
A simple and intuitive app to track, build, and maintain your habits for a better you!
## Running locally
Start the database:
`pnpm db:start`Generate Prisma Client:
`pnpm prisma:generate`Migrate the database:
`pnpm prisma:migrate-dev`Start the web server:
`pnpm dev`## Deployment
### `docker-compose.yml`
```yml
services:
habitkitweb:
image: mpholley/habitkit:latest
restart: always
ports:
- 3000:3000
depends_on:
- db
environment:
- DATABASE_URL=mysql://root:mysecretpassword@db:3306/HabitKit
- ORIGIN=
db:
image: mysql
restart: always
environment:
MYSQL_ROOT_PASSWORD: mysecretpassword
MYSQL_DATABASE: HabitKit
volumes:
- mysql_data:/var/lib/mysqlvolumes:
mysql_data:
```