B2B operations platform for small businesses: lightweight CRM, orders, production tracking, inventory, margins, and reports. Multi-tenant SaaS MVP with a production-ready stack.
- Multi-tenant — organizations, members, role-based access
- CRM — customers, contacts, search & pagination
- Orders — line items, status workflow, PDF export
- Production — time & material logging per order
- Inventory — materials, stock movements, low-stock alerts, auto-deduct from production
- Reports — margin calculation per order, CSV export
- Dashboard — KPI overview
- i18n — English, Italian, French, German, Spanish (
/en,/it,/fr,/de,/es) - Theming — light / dark / system
- Responsive — mobile drawer navigation, scrollable tables
| Environment | URL |
|---|---|
| Render (recommended) | Deploy via Blueprint → https://opshub-web.onrender.com/en |
| Local | http://localhost:3000/en |
Demo credentials
- Email:
demo@opshub.local - Password:
password123
Seed demo data: npm run prisma:seed -w @opshub/api
| Layer | Technologies |
|---|---|
| Frontend | Next.js 15, TypeScript, Tailwind, shadcn/ui, TanStack Query, next-intl, next-themes |
| Backend | NestJS, Prisma, PostgreSQL |
| Dev tooling | Graphify (codebase knowledge graph) |
| Deploy | Docker, GitHub Actions, Render Blueprint |
docker compose up --build| Service | URL |
|---|---|
| Web | http://localhost:3000/en |
| API | http://localhost:3001/api |
| Health | http://localhost:3001/api/health |
# 1. Start PostgreSQL
docker compose up db -d
# 2. Install dependencies
npm install
# 3. Configure env
cp apps/api/.env.example apps/api/.env
# 4. Run migrations
npm run prisma:deploy -w @opshub/api
# 5. Seed demo data (optional)
npm run prisma:seed -w @opshub/api
# 6. Start dev servers
npm run dev:api # port 3001
npm run dev:web # port 3000Open http://localhost:3000/en (or /it, /fr, /de, /es).
- Click Deploy to Render above, or open: https://render.com/deploy?repo=https://github.com/notaxeltv/OpsHub&branch=main
- Confirm the Blueprint (
render.yaml) — creates PostgreSQL + API + Web services - Wait ~10–15 minutes for the first build
- Visit
https://opshub-web.onrender.com/en
For CI deploys, add GitHub secrets RENDER_API_KEY, RENDER_SERVICE_ID_WEB, RENDER_SERVICE_ID_API and use .github/workflows/render-deploy.yml.
| Command | Description |
|---|---|
npm run dev |
Start all workspaces in dev mode |
npm run dev:api |
Start NestJS API (port 3001) |
npm run dev:web |
Start Next.js web (port 3000) |
npm run build |
Production build |
npm run test |
Unit tests |
npm run lint |
Lint |
npm run typecheck |
Type check |
npm run graphify |
Generate knowledge graph |
npm run dev:api & npm run dev:web &
npm run prisma:seed -w @opshub/api
cd apps/web
npm run marketing:screenshots # Playwright screenshots (EN)
npm run marketing:video # Demo walkthrough video (~34s)Output: docs/marketing/screenshots/ and docs/marketing/video/. See docs/marketing/README.md.
pip install graphifyy
npm run graphify # generate knowledge graph
npm run graphify:query -- "auth tenant" # targeted querySee docs/GRAPHIFY.md.
npm run test -w @opshub/api # API unit tests
npm run test:e2e -w @opshub/api # API e2e (requires DB)
npm run test:e2e -w @opshub/web # Playwright frontend (auth)| Doc | Description |
|---|---|
| ARCHITECTURE.md | Technical choices and modules |
| DOMAIN.md | Domain entities and flows |
| docs/GRAPHIFY.md | Graphify integration |
| docs/SIDEPROJECTORS.md | SideProjectors listing guide |
| docs/marketing/ | Screenshots, demo video, listing copy |
- Create
apps/api/src/<module>/ - Add
*.module.ts,*.service.ts,*.controller.ts,dto/ - Import in
app.module.ts - Add entities in
prisma/schema.prismawithorganizationId - Run
npm run prisma:migrate -w @opshub/api - Update graph:
npm run graphify:update
- Registration + organization creation
- Auth middleware + automatic refresh token
- Organization switcher
- Customers, contacts, orders (CRUD + pagination)
- Production logging (time & materials)
- Inventory with auto-deduct and low-stock alerts
- Margin reports + CSV/PDF export
- Dashboard KPIs
- Demo seed data
- API e2e + Playwright frontend tests
- 5 languages + dark mode + responsive layout
- Sentry integration (
SENTRY_DSN) - Docker + Render deploy + GHCR images
Proprietary — OpsHub