Skip to content

One-Health-VBD-Hub/vbdhub

Repository files navigation

CLA assistant gitleaks badge DOI

VBD Hub Monorepo

This repository houses the VBD Hub applications managed with pnpm workspaces:

  • packages/web: Next.js frontend.
  • packages/service2: Fastify backend API.

Funding and affiliation

Prerequisites

  • Node.js 18+ and pnpm.
  • Local environment files for each package (copy from each package’s .env.example).

Getting Started

pnpm install
# run from the repo root
pnpm run dev:web        # starts the Next.js app
pnpm run dev:service2   # starts the Fastify service

Structure

  • packages/web/ – Frontend app (see packages/web/README.md for details).
  • packages/service2/ – Backend service (see packages/service2/README.md for details).
  • .github/workflows/ – CI (includes Gitleaks secret scanning).

Development Notes

  • Uses Prettier settings defined in package.json.
  • Git ignores local .env files; keep real secrets out of git.
  • CI runs Gitleaks on pushes and pull requests; configure secrets in GitHub settings if needed.