MaicoTimmerman / ExactApiExplorer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Exact Online API Explorer

Exact Online API Explorer helps you build Exact Online extensions by enabling you to play with the API.

  • Built on the Deno runtime.
  • Easy set-up (bring your own API-keys!).
  • Has all (non-beta) Exact APIs built-in.
  • Remembers your commands.
  • Formats the output.

Example usage of the explorer.

Usage

  1. Install Deno.
  2. Clone this repostiory.
  3. Initialize the local SQLite database & run the program:

deno run --unstable --allow-read=. --allow-write=. --allow-net=0.0.0.0,start.exactonline.nl --lock lock.json --cached-only main.ts --migrate=up

  1. Follow the set-up instructions.
  2. Enjoy!

Deno specifics

The application was tested with Deno version 1.7.2. and stdlib 0.87.0. The following flags are used:

  • --unstable: Used to access Deno.setRaw(). This means this application might break with future versions of Deno.
  • --allow-read=. an SQLite database-file is stored in the current working directory, this flag is used to read from it.
  • --allow-write=. Same as above.
  • --allow-net=0.0.0.0,start.exactonline.nl During the setup this application temporarily runs a webserver to collect Exact's authorization code. Access to the Exact website is obvious.

About

License:MIT License


Languages

Language:TypeScript 98.3%Language:Makefile 1.7%