TidyQuest is a self-hosted web application that gamifies household chores using RPG mechanics. Complete tasks, earn coins, unlock achievements, and compete with your family on the leaderboard. Features: - 🎯 Health-based task tracking with visual decay over time - 💰 Coin system with customizable rewards - 🔥 Daily/weekly streak tracking - 🏆 Family leaderboard (week/month/quarter/year) - 🎖️ Automatic achievement unlocking - 📅 Calendar view for upcoming tasks - 🌍 Multilingual support (EN/FR/DE/ES) - 📱 Optional Telegram notifications - 🏖️ Vacation mode (pause task decay) - 🐳 Docker deployment (single container) Tech Stack: - Frontend: React 19 + Vite + TypeScript - Backend: Node.js + Express + TypeScript - Database: SQLite3 with WAL mode - Auth: JWT + bcrypt - Deployment: Docker Compose Includes: - 8 room types with 60+ predefined tasks - 10 preset rewards - 12 achievement types - Complete API documentation - Security best practices guide - Comprehensive README with examples License: GNU Affero General Public License v3.0 (AGPL-3.0) This ensures TidyQuest remains free and open-source forever, preventing proprietary SaaS forks. Any modified hosted version must share source code.
23 lines
571 B
Docker
23 lines
571 B
Docker
FROM node:22-alpine AS frontend-build
|
|
WORKDIR /app/client
|
|
COPY client/package*.json ./
|
|
RUN npm ci
|
|
COPY client/ ./
|
|
RUN npm run build
|
|
|
|
FROM node:22-alpine AS server-build
|
|
WORKDIR /app/server
|
|
COPY server/package*.json ./
|
|
RUN npm ci
|
|
COPY server/ ./
|
|
RUN npx tsc
|
|
|
|
FROM node:22-alpine
|
|
WORKDIR /app
|
|
COPY server/package*.json ./server/
|
|
RUN cd server && npm ci --omit=dev
|
|
COPY --from=server-build /app/server/dist ./server/dist
|
|
COPY --from=frontend-build /app/client/dist ./client/dist
|
|
RUN mkdir -p /app/data
|
|
EXPOSE 3000
|
|
CMD ["node", "server/dist/index.js"]
|