Azure-native logistics and operations platform built with React, Vite, Node.js, PostgreSQL, and GitHub Actions.
src/- React frontendserver/- Node.js App Service entrypoint, API routes, and servicesapi/- shared runtime handlers reused by the Node serversql/migrations/- SQL migrations for PostgreSQLpublic/- static assetsdist/- production frontend build output
Copy .env.example to your local environment file and set:
DATABASE_URL- PostgreSQL connection stringAZURE_APPINSIGHTS_CONNECTION_STRING- Azure Application Insights connection stringVITE_API_BASE_URL- optional public base URL consumed by the frontend runtime client; when unset the app falls back to/apiVITE_APP_URL- public URL of the deployed appNODE_ENV- useproductionfor deployed environments
npm install
npm run check
npm run build
npm startFor frontend development only:
npm run devProduction deployment is 100% Azure. The canonical automated path uses GitHub Actions to build the Vite frontend and Node runtime, then deploys the packaged app to Azure App Service with PostgreSQL and the shared runtime APIs under /api/runtime/*. Legacy alternatives such as Vercel and Netlify are not part of the supported deployment flow for this repository.
- Build output is generated in
dist/ npm run build:azureis available as the Azure-oriented build alias used by deployment documentation and currently maps to the same Vite production build asnpm run buildstaticwebapp.config.jsonremains available only if you later split the frontend to Azure Static Web Apps
server/index.jsis the App Service startup entrypointGET /api/healthprovides a health check endpoint- Runtime API routes are served under
/api/runtime/*
- GitHub Actions workflow:
.github/workflows/azure-deploy.yml - The workflow installs dependencies, type-checks, builds, validates
AZURE_CREDENTIALS/AZURE_WEBAPP_NAME, and deploys to Azure App Service on pushes tomain - Runtime application settings should be configured in Azure App Service using the variables from
.env.example - If you need the quick answer for "where is the Azure deployment pipeline configured?", open
DEPLOYMENT.md
azure.yaml defines the Azure App Service packaging flow with:
npm installnpm run buildnpm start
The repository is expected to work with:
npm install
npm run check
npm run build
npm start