Skip to content
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SGarden Total

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.

Prerequisites

  • Node.js >= 16
  • npm

Install

Install all dependencies once from project root:

npm install

Project Structure

sgarden/
  frontend/
  backend/
  package.json

Run Frontend Only

Development server:

npm run frontend:start

Build:

npm run frontend:build

Serve built frontend:

npm run frontend:serve

Run Backend Only

Development mode (nodemon):

npm run backend:dev

Production mode:

npm run backend:start

Run Both Frontend And Backend

Development mode (both in parallel):

npm run dev

Production-style run (backend + served frontend build):

npm run start:all

Lint And Tests

Run all lint checks:

npm run lint

Run all tests:

npm run test

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages