Next Media is a media management system (similar to Jellyfin, Emby, Plex).
- Monorepo managed with pnpm workspaces
- Frontend: React + Vite + TanStack Router/Query + Tailwind CSS
- Backend: Hono (Node) with base path
/api - Database: SQLite via Drizzle ORM
- Auth: better-auth
- UI: shadcn-ui
- Queue: bullmq
- Nginx: serves built frontend and proxies
/apito backend - Redis: for caching/queue (via Docker)
- Process manager: PM2 for local multi-service run
Follow these steps to run the project locally:
-
Start infrastructure (Redis and Nginx) using Docker Compose
docker compose up -d
-
Install dependencies at the repo root
pnpm install
-
Initialize the database
pnpm run db:init
-
Build and start the apps with PM2
pnpm run start