Skip to content

Latest commit

 

History

History
47 lines (41 loc) · 6.24 KB

README.md

File metadata and controls

47 lines (41 loc) · 6.24 KB

LTA Datamall Wrapper

FOSSA Status Total alerts Language grade: JavaScript Known Vulnerabilities GuardRails badge Module LTS Adopted' Contributor Covenant Commitizen friendly semantic-release OSS Lifecycle Renovate Prettier

This is an API wrapper meant to circumvent the issue of LTA Datamall not supporting HTTPS.

Usage (local machine)

  1. Install Node.js
  2. Clone this repository
  3. If you want this wrapper to handle SSL directly (e.g. no proxy), run these commands (substituting ... with the your own values):
    # Linux
    export SSL_CERT=...
    export SSL_KEY=...
  4. Run these commands in the repository:
    npm install
    npm install -D
    npm run build
    npm start

Usage (Docker)

  1. Modify the following lines in Dockerfile accordingly:
    # Change these as necessary
    ENV PORT=80
    ENV SSL_CERT=""
    ENV SSL_KEY=""
  2. Execute docker run or whichever preferred Docker "startup" command.

License

FOSSA Status