π Anix Lab (formerly Anix7) β Unified Monorepo Architecture
This is the official monorepo for Anix Lab (formerly Anix7), powered by Turborepo and PNPM Workspaces.
It serves as the centralized codebase for the entire Anix Lab ecosystem β including:
- π Web applications
- π Authentication services
- β‘ API servers
- π Shared libraries & configurations
- Admin Dashboard β
apps/admin - Anipic (Image Platform) β
apps/anipic - Main Website β
apps/www-website - Tools Platform β
apps/tools - Short URL Redirect Service β
apps/i-used-for-short-url - Core Backend Server (API + Socket.IO) β
apps/core-server
-
Auth Module β
shared/authShared authentication UI components, logic, and client utilities -
UI Components β
shared/componentsReusable React components (UI, navigation, loaders, error handling, etc.) -
Configuration β
shared/configCentralized configs for:- ESLint (Flat Config)
- TypeScript
- Next.js
- PostCSS
-
Core Libraries β
shared/lib- Database layer (MongoDB + multi-connection support)
- Mongoose models (ImageUpload, ShortUrl, etc.)
- Email utilities (Nodemailer)
- Zod validation & helpers
-
Head & SEO Utilities β
shared/headMetadata, analytics, and theme-related utilities -
Providers β
shared/providersGlobal React providers (e.g., Toast System, context wrappers) -
Styles β
shared/stylesGlobal styles, themes, and utility CSS -
Utilities β
shared/utilsGeneral-purpose helper functions (clipboard, client info, classNames, etc.)
AnixLabWorkspace/
βββ apps/
β βββ admin/ # Admin dashboard (Next.js)
β βββ anipic/ # Image platform (Next.js)
β βββ core-server/ # Backend server (Fastify + Socket.IO)
β βββ i-used-for-short-url/ # Public short URL redirect service
β βββ tools/ # Tools platform (calculators, utilities, etc.)
β βββ www-website/ # Main website (landing + pages)
β
βββ shared/ # Shared packages across apps
β βββ auth/ # Shared auth UI & logic
β βββ components/ # Reusable UI components
β βββ config/ # ESLint, TS, Next, PostCSS configs
β βββ head/ # SEO, analytics, meta handlers
β βββ lib/ # Core libraries
β β βββ db/ # Multi-DB connections + models
β β βββ mail/ # Email utilities
β β βββ utils/ # Core helpers
β βββ providers/ # React providers (Toast, etc.)
β βββ styles/ # Global styles
β βββ utils/ # General utilities
β
βββ .github/workflows/ # CI/CD pipelines
βββ ecosystem.config.cjs # PM2 ecosystem config
βββ turbo.json # Turborepo pipeline config
βββ pnpm-workspace.yaml # Workspace definition
βββ package.json # Root config
βββ tsconfig.json # Root TypeScript config
- Next.js 16 (App Router)
- BetterAuth
- MongoDB + Mongoose
- Fastify
- Socket.IO
- Turborepo
- PNPM Workspaces
- Tailwind CSS v4
- ESLint (Flat Config)
- PostCSS
pnpm installpnpm devpnpm --filter www-website dev
pnpm --filter anipic dev
pnpm --filter core-server devpnpm dev --filter tools --filter anipic
pnpm dev --filter www-website --filter core-serverpnpm buildpnpm lintpnpm typecheckpnpm checkEach application can maintain its own environment configuration:
apps/www-website/.env.local
apps/core-server/.env
- β Unified development workflow
- β Shared models, auth, utilities, and configs
- β Faster builds with Turborepo caching
- β Centralized tooling (ESLint, Tailwind, PostCSS)
- β Scalable and maintainable architecture
- β Seamless cross-project integration within Anix Lab ecosystem
- β‘ Turborepo task pipeline & caching
- π¨ Shared Tailwind configuration
- π Multi-database MongoDB support
- π Centralized BetterAuth setup
- π¦ Reusable Mongoose models
Licensed under the Creative Commons Attribution-NonCommercial 4.0 International (CC BY-NC 4.0) License.
β οΈ This project is intended for educational and personal use only. Commercial or production usage requires explicit permission.
See LICENSE for full details.
Contributions, suggestions, and improvements are welcome.
Β© 2026 CodesWithSubham β All rights reserved.