feat: Initial Tamagotchi as a Service 🐣

- 3-tier architecture: Frontend (Nginx) → API (Node.js) → PostgreSQL
- Custom Prometheus metrics: hunger_level, happiness_score, energy_level
- Creature decay loop: stats degrade every 15 seconds
- Bilingual UI (EN/FR)
This commit is contained in:
2026-07-01 16:36:48 +00:00
parent a7220a9a5b
commit fbf5135dc8
9 changed files with 1496 additions and 0 deletions
+7
View File
@@ -0,0 +1,7 @@
FROM node:20-alpine
WORKDIR /app
COPY package.json ./
RUN npm install --production
COPY server.js ./
EXPOSE 8080
CMD ["node", "server.js"]