Coder Social home page Coder Social logo

esw-ocs-eng-ui's Introduction

ESW-OCS-ENG-UI

This project is a React web application.

Prerequisites Required for Running OCS-UI Application

  1. csw-services should be up & running. using sbt shell inside CSW csw-services/run start -k -c.

  2. The latest binaries of ESW need to be present on machine with 0.1.0-SNAPSHOT version. run sbt publishLocal inside ESW sbt shell. Note: This step needs to be done atleast once and/or whenever new changes of esw are pulled from github.

3a. AgentService along with one or more Agent's should be up & running. using sbt shell inside ESW esw-services/run start --agent --agent-service.

3b. Alternatively, to run esw-services with a simulated Sequence Manager, use esw-services/run start --agent-service -s --simulation

The v15.x version of Node.js must be installed.

User role for login

For testing purposes, we are creating a esw-user while launching the Keycloak from csw-services

Username: esw-user Password: esw-user

Run the Application in Local Environment

Run following commands in the terminal.

  npm install
  npm start

Then, open localhost:8080 in a browser

Required backend services/components

  • Location Service
  • Auth Service - user with esw-user role is required
  • Agent Service
  • One or more agents should be up and running.

Build the App for Production

Run following commands in the terminal.

npm install
npm run build

Running Tests

npm test

How to Use the Project

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.

References

  • ESW-TS Library - Link
  • ESW-TS Library Documentation - Link

esw-ocs-eng-ui's People

Contributors

anujachaitanya avatar i-am-chauhan avatar jasonweiss avatar kpritam avatar manish3323 avatar mertia-himanshu avatar poorva17 avatar shivanithorat avatar shubhamjay avatar vinaymahamuni avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.