1.0.0 • Published 10 months ago

cheetas3.webui v1.0.0

Weekly downloads
-
License
-
Repository
-
Last release
10 months ago

Cheetas3.React.UIs monorepo

Top level layout

FolderDescription
appsthe main runnable applications
liblibrary code imported by an app (not 3rd party)
baselineCheetas baseline modules not bundled with the main UI

Projects

ProjectDescription
apps/userCheetas user UI application
apps/adminCheetas admin UI application
lib/corecore library where most components live, if not specific to an app or module
lib/modulecore library for Cheetas web modules
baseline/icd-managerICD manager admin module

Referencing code

Symbols have been added to allow you to easily reference other parts of the repo | Symbol | Description | Example | ------ | ----------- | ------- | @core | "src" folder of core library | @core/components/common/Toaster/Toaster | @module | "src" folder of module library | @module/react/CheetasModule

Tasks

Adding NPM package

Run npm install in the folder with the package.json that you want to install the package to, normally. If you add a package to lib/core, you will most likely need to add it to one of the apps as well.

Building everything

Run "npm run dist --ws" in the root of the monorepo.

Running a single app

Run "npm start" in an app folder to run an app in development mode. Run "npm start" in a baseline folder to run a module in development mode.

Updating Cheetas API / Redux

Run "npm run update:redux" in lib/core.

To Generate an API from swagger docs

npx swagger-typescript-api -p https://localhost:5001/swagger/v1/swagger.json -o ./application --modular

1.0.0

10 months ago