Mirror of github.com/Memo-2023/mana-monorepo
Find a file
2025-12-25 21:19:02 +01:00
.claude Merge branch 'dev' into till-dev 2025-12-19 19:29:29 +01:00
.github Merge main into dev - sync with latest Docker/CI fixes 2025-12-25 21:19:02 +01:00
.husky feat(husky): add helpful error messages to git hooks 2025-12-17 18:39:41 +01:00
apps Merge main into dev - sync with latest Docker/CI fixes 2025-12-25 21:19:02 +01:00
cicd 🔒 security(auth): migrate to EdDSA JWT and add automated monitoring 2025-12-18 21:42:47 +01:00
docker 🐛 fix(docker): add missing build-shared-packages.sh script for Docker builds 2025-12-25 20:51:15 +01:00
docs test: implement comprehensive automated testing system with daily CI/CD 2025-12-25 19:12:27 +01:00
monitoring 🔒 security(auth): migrate to EdDSA JWT and add automated monitoring 2025-12-18 21:42:47 +01:00
packages 🔧 chore: enforce monorepo best practices with automated validation 2025-12-25 17:57:00 +01:00
scripts test: implement comprehensive automated testing system with daily CI/CD 2025-12-25 19:12:27 +01:00
services/mana-core-auth fix(tests): add missing service mocks to e2e integration tests 2025-12-25 20:03:14 +01:00
tests/e2e first implementation 2025-11-27 17:26:18 +01:00
.dockerignore make auth working 2025-11-26 01:31:12 +01:00
.editorconfig feat: add monorepo configuration and shared packages structure 2025-11-22 23:41:52 +01:00
.env.development 🔒 security(auth): migrate to EdDSA JWT and add automated monitoring 2025-12-18 21:42:47 +01:00
.env.example 🔒 security(auth): migrate to EdDSA JWT and add automated monitoring 2025-12-18 21:42:47 +01:00
.gitignore 🙈 chore: ignore claude-flow metrics from git tracking 2025-12-08 14:38:41 +01:00
.nvmrc feat: add monorepo configuration and shared packages structure 2025-11-22 23:41:52 +01:00
.prettierignore fix(ci): build shared packages before tests and fix formatting 2025-12-01 23:15:00 +01:00
.prettierrc feat: add monorepo configuration and shared packages structure 2025-11-22 23:41:52 +01:00
.prettierrc.json fix(cicd): docker paths, formatting config, 2025-11-27 18:33:08 +01:00
APP-IDEAS.md 📝 docs: update COMMANDS.md and add APP-IDEAS.md 2025-12-04 17:28:16 +01:00
BACKEND_DESIGN_PATTERN_AUDIT.md 🔒️ feat(auth): centralize JWT validation and add deployment docs 2025-12-01 20:44:45 +01:00
CI_CD_IMPLEMENTATION_SUMMARY.md feat: major update with network graphs, themes, todo extensions, and more 2025-12-10 02:37:46 +01:00
CI_CD_README.md first auth impl 2025-12-01 13:30:58 +01:00
CLAUDE.md 🔧 chore: enforce monorepo best practices with automated validation 2025-12-25 17:57:00 +01:00
CLAUDE.md.backup 📝 docs: restructure CLAUDE.md and documentation (74% reduction) 2025-12-16 17:37:19 +01:00
COMMANDS.md delete old apps due to context pollution 2025-12-25 17:23:14 +01:00
COMPATIBILITY_MATRIX_AND_REMEDIATION.md 🔒️ feat(auth): centralize JWT validation and add deployment docs 2025-12-01 20:44:45 +01:00
docker-compose.dev.yml 🔒 security(auth): migrate to EdDSA JWT and add automated monitoring 2025-12-18 21:42:47 +01:00
docker-compose.production.yml 🔒 security(auth): migrate to EdDSA JWT and add automated monitoring 2025-12-18 21:42:47 +01:00
docker-compose.staging.yml Merge branch 'till-dev' into dev 2025-12-24 22:49:01 +01:00
docker-compose.yml 🔒 security(auth): migrate to EdDSA JWT and add automated monitoring 2025-12-18 21:42:47 +01:00
DOCKER_REGISTRY_SETUP.md style: auto-format codebase with Prettier 2025-11-27 18:33:16 +01:00
eslint.config.mjs fix lint 2025-12-04 00:32:13 +01:00
FILES_CREATED.md first auth impl 2025-12-01 13:30:58 +01:00
HISTORICAL-ANALYSIS.md Merge branch 'dev-1' into dev 2025-12-05 17:57:26 +01:00
HIVE_MIND_FINAL_REPORT.md feat: major update with network graphs, themes, todo extensions, and more 2025-12-10 02:37:46 +01:00
jest.config.js first implementation 2025-11-27 17:26:18 +01:00
JWT_VALIDATION_REPORT.md 🔒️ feat(auth): centralize JWT validation and add deployment docs 2025-12-01 20:44:45 +01:00
lint-staged.config.js 🔧 chore: add svelte-check to pre-commit hooks 2025-12-15 17:53:52 +01:00
MANACORE-TODOS.md 📝 docs: add release plan and manacore roadmap 2025-12-05 03:38:27 +01:00
MERGE-FIX-SUMMARY.md Merge branch 'dev-1' into dev 2025-12-05 17:57:26 +01:00
package.json test: implement comprehensive automated testing system with daily CI/CD 2025-12-25 19:12:27 +01:00
playwright.config.ts style: auto-format codebase with Prettier 2025-11-27 18:33:16 +01:00
pnpm-lock.yaml feat(auth): implement sliding window refresh token expiration 2025-12-25 17:58:20 +01:00
pnpm-workspace.yaml chore: archive inactive projects to apps-archived/ 2025-11-29 07:03:59 +01:00
QA_TESTING_CHECKLIST.md add mana core 2025-11-25 18:56:35 +01:00
QUICK_START_CICD.md style: auto-format codebase with Prettier 2025-11-27 18:33:16 +01:00
README.md delete old apps due to context pollution 2025-12-25 17:23:14 +01:00
RELEASE-PLAN.md 📝 docs: add release plan and manacore roadmap 2025-12-05 03:38:27 +01:00
test-chat-auth.sh Fix wrong type 2025-12-04 23:25:25 +01:00
TEST_CASES_SAMPLES.md add mana core 2025-11-25 18:56:35 +01:00
TESTING_STRATEGY_AUTH_CREDITS.md add mana core 2025-11-25 18:56:35 +01:00
TESTING_STRATEGY_EXECUTIVE_SUMMARY.md style: auto-format codebase with Prettier 2025-11-27 18:33:16 +01:00
TROUBLESHOOTING.md docs: add SvelteKit runtime env injection guidelines and troubleshooting 2025-12-08 20:54:13 +01:00
turbo.json 🔒 security(auth): migrate to EdDSA JWT and add automated monitoring 2025-12-18 21:42:47 +01:00
vitest.config.ts first implementation 2025-11-27 17:26:18 +01:00

Manacore Monorepo

Monorepo containing all Manacore projects with shared packages and unified tooling.

Staging URLs

All services are deployed to staging at *.staging.manacore.ai.

Web Applications

App Staging URL Description
ManaCore https://staging.manacore.ai Central dashboard for all Mana apps
Chat https://chat.staging.manacore.ai AI chat application
Calendar https://calendar.staging.manacore.ai Calendar and scheduling
Clock https://clock.staging.manacore.ai World clock, timers, alarms
Todo https://todo.staging.manacore.ai Task management

Backend APIs

Service Staging URL Port
Auth https://auth.staging.manacore.ai 3001
Chat API https://chat-api.staging.manacore.ai 3002
Calendar API https://calendar-api.staging.manacore.ai 3016
Clock API https://clock-api.staging.manacore.ai 3017
Todo API https://todo-api.staging.manacore.ai 3018

Landing Pages (Cloudflare Pages)

Project URL
Chat https://chat-landing-90m.pages.dev
Picture https://picture-landing.pages.dev
ManaCore https://manacore-landing.pages.dev
ManaDeck https://manadeck-landing.pages.dev

Projects

Project Description Tech Stack
manacore Multi-app ecosystem platform Expo, SvelteKit
chat AI chat application NestJS, Expo, SvelteKit
calendar Calendar & scheduling NestJS, SvelteKit
contacts Contact management NestJS, SvelteKit
context AI document context Expo
manadeck Card/deck management NestJS, Expo, SvelteKit
nutriphi Nutrition tracking (planned) -
picture AI image generation NestJS, Expo, SvelteKit
storage Cloud storage (planned) -
todo Task management NestJS, SvelteKit

Getting Started

Prerequisites

  • Node.js 20+
  • pnpm 9.15.0+
  • Docker (for local development)

Installation

# Install pnpm globally (if not installed)
npm install -g pnpm

# Install all dependencies (also generates .env files)
pnpm install

# Start Docker infrastructure
pnpm docker:up

Quick Start

Use dev:*:full commands to start any app with automatic database setup:

pnpm docker:up           # Start PostgreSQL, Redis, MinIO
pnpm dev:chat:full       # Start chat with auth + auto DB setup
pnpm dev:picture:full    # Start picture with auth + auto DB setup
pnpm dev:calendar:full   # Start calendar with auth + auto DB setup
pnpm dev:contacts:full   # Start contacts with auth + auto DB setup
pnpm dev:todo:full       # Start todo with auth + auto DB setup
pnpm dev:manacore:full   # Start manacore with all backends

Development Commands

# Build all projects
pnpm build

# Type check
pnpm type-check

# Lint
pnpm lint

# Format code
pnpm format

Shared Packages

Located in packages/:

Package Description
@manacore/shared-auth Client-side auth for web/mobile
@manacore/shared-nestjs-auth NestJS JWT validation guards
@manacore/shared-ui Shared Svelte UI components
@manacore/shared-storage S3-compatible storage (MinIO/Hetzner)
@manacore/shared-types Common TypeScript types
@manacore/shared-utils Utility functions
@manacore/shared-theme Theme configuration

Repository Structure

manacore-monorepo/
├── apps/                    # Active product applications (10 apps)
│   ├── calendar/            # Calendar & scheduling
│   ├── chat/                # AI chat
│   ├── contacts/            # Contact management
│   ├── context/             # AI document context
│   ├── manacore/            # Multi-app dashboard
│   ├── manadeck/            # Card/deck management
│   ├── nutriphi/            # Nutrition (planned)
│   ├── picture/             # AI image generation
│   ├── storage/             # Cloud storage (planned)
│   └── todo/                # Task management
├── games/                   # Game projects (5 games)
│   ├── figgos/              # Collectible figures
│   ├── mana-games/          # Browser games
│   ├── voxel-lava/          # 3D voxel game
│   ├── whopixels/           # Pixel art editor
│   └── worldream/           # World building
├── services/
│   └── mana-core-auth/      # Central auth service
├── packages/                # Shared packages (@manacore/*)
├── docker/                  # Docker configuration
└── .github/workflows/       # CI/CD pipelines

Tooling

  • Package Manager: pnpm 9.15.0
  • Build System: Turborepo
  • Formatting: Prettier
  • Linting: ESLint
  • Git Hooks: Husky (pre-commit, pre-push)
  • Node Version: 20+

Adding Dependencies

# Add to workspace root (dev tools only)
pnpm add -D <package> -w

# Add to specific project
pnpm add <package> --filter @chat/web

# Add to shared package
pnpm add <package> --filter @manacore/shared-utils

Deployment

Deploy Landing Pages

pnpm deploy:landing:chat
pnpm deploy:landing:picture
pnpm deploy:landing:manacore
pnpm deploy:landing:all    # Deploy all landing pages

Deploy to Staging

# Tag-based deployment (triggers CI/CD)
git tag chat-staging-v1.0.0
git push origin chat-staging-v1.0.0

Documentation

License

Private - All rights reserved