Home

Awesome

PlatformClient

<a alt="Nx logo" href="https://nx.dev" target="_blank" rel="noreferrer"><img src="https://raw.githubusercontent.com/nrwl/nx/master/images/nx-logo.png" width="45"></a>

This workspace has been generated by Nx, a Smart, fast and extensible build system.

Run make start (requires Docker) to launch and open http://localhost:80

Requires the Platform server backend running in the background. Check the launch instructions

Requirements

Node.js >16

Launch Web project

Run npm run web:serve to see a web project.

Run npm run web:build to make production build for deploy.

Mobile project

Before invoking the capacitor commands, you must go into the folders of the mobile project and run the npm installcommands to install the plugin inside the mobile project !!! All native plugins for mobile development must be installed in the mobile project folder mobile-mzima-client

Run npm run mobile:serve - "nx run mobile-mzima-client:serve",

Run npm run mobile:build - "nx run mobile-mzima-client:build",

Run npm run mobile:add-ios - "nx run mobile-mzima-client:cap:add-ios",

Run npm run mobile:add-android - "nx run mobile-mzima-client:cap:add-android",

Run npm run mobile:sync - "nx run mobile-mzima-client:cap:sync",

Run npm run mobile:ios - "nx run mobile-mzima-client:cap:ios",

Run npm run mobile:android - "nx run mobile-mzima-client:cap:android",

Understand this workspace

Run nx graph to see a diagram of the dependencies of the projects.

Remote caching

Run npx nx connect-to-nx-cloud to enable remote caching and make CI faster.

Further help

Visit the Nx Documentation to learn more.