Skip to content

Latest commit

 

History

History
22 lines (12 loc) · 1014 Bytes

File metadata and controls

22 lines (12 loc) · 1014 Bytes

nodejs-ibmi-app Template

A Node.js API template, built specifically for using TypeScript, creating APIs with express, and ODBC to connect to IBM i.

Create the repo from the template

Select 'Use this template' and 'Create a new repository'. Fill out your new repository information and when it has been created, clone it to your local device.

image

Setup

  1. After cloning the repo, change directory to it and use npm i to fetch the dependencies
  2. Create a copy of .env.example named .env and update the environment variables with the values you would use to connect to an IBM i

Testing

Use 'Launch Program' under the debug tab to launch to application.

image

You can also use npm run start to launch it outside of VS Code.