Skip to content

eclipsay/wilford

Repository files navigation

Wilford Industries Monorepo

This repository is organized as a small npm workspace monorepo so each service can run independently while still sharing utilities and config.

Structure

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

Requirements

  • Node.js 20+
  • npm 10+

Install

npm install

Environment Setup

Each 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/.env

Run Services

npm run dev:website
npm run dev:panel
npm run dev:api
npm run dev:bot

Each service can also be run directly from its own workspace.

Build

npm run build

Production Notes

  • apps/website is ready to deploy to Vercel as a standard Next.js app.
  • apps/panel, apps/api, and apps/discord-bot are structured to run on a VPS.
  • A root ecosystem.config.cjs file is included for PM2.
  • Simple Dockerfiles are included for panel, api, and discord-bot.

PM2

pm2 start ecosystem.config.cjs

Workspaces

  • @wilford/website
  • @wilford/panel
  • @wilford/api
  • @wilford/discord-bot
  • @wilford/shared

About

This is the Wilford Industries Project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors