This project is a React web application.
-
csw-services are required to be up & running. using sbt shell inside csw
csw-services/run start -k -c
-
AgentService
, along with one or moreAgent's
are required to be up & running. using sbt shell inside eswesw-services/run start -agent --agent-service
The latest stable version of Node.js must be installed.
Run following commands in the terminal.
npm install
npm start
Then, open localhost:8080 in a browser
- Location Service
- Auth Service - user with esw-user role is required
- Agent Service
- One or more agents should be up and running.
Run following commands in the terminal.
npm install
npm run build
npm test
The project has following structure:
.
├── src
│ ├── assets
│ ├── components
| ├── containers
│ ├── config
│ ├── features
│ ├── routes
├── test
├── types
assets
: This directory contains all the files (images, audio etc) that are used by the UI component.components
: App reusable functions / components created for this UI application.config
: This contains the application specific configurations.containers
: App reusable functions / utilities goes here.test
: This directory contains all the tests for the UI application.types
: This directory contains all the types that needs to be imported externally for UI application.