Unified SGarden project with one root dependency manifest and two app folders:
frontend/backend/
Note: frontend/package.json and backend/package.json are minimal tool/runtime manifests only. Dependencies are installed and managed from the root package.json.
- Node.js >= 16
- npm
Install all dependencies once from project root:
npm installsgarden/
frontend/
backend/
package.json
Development server:
npm run frontend:startBuild:
npm run frontend:buildServe built frontend:
npm run frontend:serveDevelopment mode (nodemon):
npm run backend:devProduction mode:
npm run backend:startDevelopment mode (both in parallel):
npm run devProduction-style run (backend + served frontend build):
npm run start:allRun all lint checks:
npm run lintRun all tests:
npm run test