0.0.0 • Published 4 years ago

zegal-client v0.0.0

Weekly downloads
-
License
-
Repository
-
Last release
4 years ago

zegal-client to be used by 3rd parties for integration.

  1. To build all npm run build-all

    Will build distro's for localhost, dev, staging, prod -- based on DL SERVER API URL

  2. On browser in HTML:

  3. JS

    const zegal = new Zegal(<key>);
    await zegal.init()
    
    const GUIDE = "5ce239bd19b6660100be3d3a";
    let g = await zegal.getDocumentGuide(GUIDE);
    
    const GUIDEGOUPNAME = "saas_agreement";
    let guides = await zegal.getDocumentGuidesGroup(GUIDEGOUPNAME);
  4. Command line TESTING on DEV

    export API_URL=https://api.dev-a.drabayashi.net

For deployment:

On every MR merged to a branch dev, staging, preprod, master the respective build is launched and file is pushed to configured bucket master being for prod build.

0.0.0

4 years ago