Skip to content

racheliee/viralytics

Repository files navigation

viralytics

[2025 Spring Semester] System Management Engineering Capstone Project

Project Structure

  • api/: Contains the backend API code
  • ui/: Contains the UI web code
  • model/: Contains the model code and training history
  • data/: Contains the data preprocessing code
  • docs/: Contains the documentation

For more details

Getting Started

# Install dependencies for all workspaces
rm -rf node_modules yarn.lock # if you have issues with dependencies
yarn install

Running the Project

# running the backend (port 3001)
yarn dev:api

# running the frontend (port 3000)
yarn dev:ui

Formatting

To 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:fix

Misc

Adding new enums

After adding a new enum, run the following command to update the TypeScript types:

yarn workspace @viralytics/shared-constants build 

Unnecessary Dependencies

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> 

About

[2025 Spring Semester] System Management Engineering Capstone Project

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 5