Skip to content

Repository files navigation

Node IBMi

Node IBMi - Demo developed by Shivam Lohiya.

This is an demo application in which we connect NodeJS with IBM i using itoolkit package and create APIs aswell we can call RPG and CL program. Also, I created one API by which i call work active Job.

I added KeyCloak as OAuth server for tokenized API.

Also, I integrate Sawgger Stats and Swagger UI for better understanding,


Dependencies

  • NodeJS
  • IBM i
  • Itoolkit
  • Express
  • KeyCloak
  • Swagger Stats
  • Swagger UI

Endpoints of API


Requirements

For development, you will need Node.js, IBM i Server and KeyCloak Server

Node

  • Node installation on Windows

    Just go on official Node.js website and download the installer. Also, be sure to have git available in your PATH, npm might need it (You can find git here).

  • Node installation on Linux

    You can install nodejs and npm easily with apt install, just run the following commands.

    $ sudo apt install nodejs
    $ sudo apt install npm
    
  • Other Operating Systems

    You can find more information about the installation on the official Node.js website and the official NPM website.

If the installation was successful, you should be able to run the following command.

$ node --version
v16.13.1

$ npm --version
8.1.2

If you need to update npm, you can make it using npm! Cool right? After running the following command, just open again the command line and be happy.

$ npm install npm -g

IBM i Server


KeyCloak Server


Running the project in development mode

  • To start backend:

      $ node index.js
    
  • Start the KeyCloak Server by running Standalone.sh for Windows(C:\path\keycloak-16.1.1\bin)


Swagger Stats

image

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages