This repository is organized as a small npm workspace monorepo so each service can run independently while still sharing utilities and config.
apps/
website/ Next.js frontend for Vercel
panel/ Next.js dashboard for VPS hosting
api/ Node.js + Express backend
discord-bot/ Node.js Discord bot
packages/
shared/ Shared helpers, constants, and types
- Node.js 20+
- npm 10+
npm installEach app includes its own .env.example.
Copy the example file in each app before running:
cp apps/website/.env.example apps/website/.env.local
cp apps/panel/.env.example apps/panel/.env.local
cp apps/api/.env.example apps/api/.env
cp apps/discord-bot/.env.example apps/discord-bot/.envnpm run dev:website
npm run dev:panel
npm run dev:api
npm run dev:botEach service can also be run directly from its own workspace.
npm run buildapps/websiteis ready to deploy to Vercel as a standard Next.js app.apps/panel,apps/api, andapps/discord-botare structured to run on a VPS.- A root
ecosystem.config.cjsfile is included for PM2. - Simple Dockerfiles are included for
panel,api, anddiscord-bot.
pm2 start ecosystem.config.cjs@wilford/website@wilford/panel@wilford/api@wilford/discord-bot@wilford/shared