[2025 Spring Semester] System Management Engineering Capstone Project
api/: Contains the backend API codeui/: Contains the UI web codemodel/: Contains the model code and training historydata/: Contains the data preprocessing codedocs/: Contains the documentation
# Install dependencies for all workspaces
rm -rf node_modules yarn.lock # if you have issues with dependencies
yarn install# running the backend (port 3001)
yarn dev:api
# running the frontend (port 3000)
yarn dev:uiTo format the code, run in the respective directories:
yarn prettier: fix
# for each workspace (replace /api with each workspace name)
yarn workspace @viralytics/api prettier:fixAfter adding a new enum, run the following command to update the TypeScript types:
yarn workspace @viralytics/shared-constants build Go to each workspace and run:
depcheck
yarn remove <unnecessary-package>
# if you want to know why a seemingly unnecessary package is there
yarn why <unnecessary-package>