Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/deephaven/openapi-node-starter

An example Node Client that connects and logs in
https://github.com/deephaven/openapi-node-starter

deephaven nodejs openapi

Last synced: 27 days ago
JSON representation

An example Node Client that connects and logs in

Awesome Lists containing this project

README

        

# OpenAPI Node Starter

Getting started with OpenAPI and NodeJS

## Setup Instructions
1. Install NodeJS v12+
2. `npm install`
3. Set the server name and credentials near the top of app.js
4. `npm start`

## File Descriptions
- app.js - Main file which creates a connection
- openapiIncludeAsync.js - Function to asynchronously include the latest version of irisapi.nocache.js from web server
- openapiPolyfill.js - Adds some missing Event classes for OpenAPI with Node
- irisapi.nocache.js (not tracked) - Downloaded by openapiIncludeAsync and contains the class definitions for using the API