GithubHelp home page GithubHelp logo

jcheez / edh-tuo-demo-app Goto Github PK

View Code? Open in Web Editor NEW

This project forked from shaoquan93/edh-tuo-demo-app

0.0 0.0 0.0 6.05 MB

EDH G2B Tell-Us-Once Demo Application

Shell 0.21% JavaScript 61.31% CSS 16.71% HTML 17.75% Batchfile 0.22% Pug 0.23% Less 3.57%

edh-tuo-demo-app's Introduction

EDH Demo App Setup

1.1 Install Node and NPM

In order for the demo application to run, you will need to install Node and NPM.

Follow the instructions given by the links below depending on your OS.

1.2 Run NPM install

Run the following command in the folder you unzipped the application:

npm install

1.3 Start the Application

For Linux/MacOS

Execute the following command to start the application:

  ./start.sh

For Windows

Execute the following command to start the application:

  .\start.bat

Access the Application on Your Browser You should be able to access the sample application via the following URL:

http://localhost:3001

Demo Screenshot Demo Screenshot


v1.0.0 APIs (LATEST)

EDH Entity TUO Specifications

For Linux/MacOS

Edit the start.sh. Look for SANDBOX ENVIRONMENT, Comment out these configurations,

# SANDBOX ENVIRONMENT (no PKI digital signature)
# export AUTH_LEVEL=L0
# export EDH_API_ENTITY='https://sandbox.api.edh.gov.sg/gov/v1/entity-sample'

Look for TEST ENVIRONMENT, uncomment these configurations,

# TEST ENVIRONMENT (with PKI digital signature)
export AUTH_LEVEL=L2
export EDH_API_ENTITY='https://test.api.edh.gov.sg/gov/v1/entity'

Execute the following command to start the application:

  ./start.sh

For Windows

Edit the start.bat. Look for SANDBOX ENVIRONMENT, comment out these configurations,

rem SANDBOX ENVIRONMENT (no PKI digital signature)
rem set AUTH_LEVEL=L0
rem set export EDH_API_ENTITY=https://sandbox.api.edh.gov.sg/gov/v1/entity-sample

Look for TEST ENVIRONMENT, uncomment these configurations,

rem TEST ENVIRONMENT (with PKI digital signature)
set AUTH_LEVEL=L2
set EDH_API_ENTITY=https://test.api.edh.gov.sg/gov/v1/entity

Execute the following command to start the application:

  .\start.bat

Reporting issues

You may contact mailto:[email protected] for any other technical issues, and we will respond to you within 5 working days.

edh-tuo-demo-app's People

Contributors

changmc78 avatar jcheez avatar shaoquan93 avatar yuejun92 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.