https://github.com/worksofliam/ileastic-webapi
RPGLE template webapi using ILEastic and noxDb
https://github.com/worksofliam/ileastic-webapi
ibmi rpgle
Last synced: 5 months ago
JSON representation
RPGLE template webapi using ILEastic and noxDb
- Host: GitHub
- URL: https://github.com/worksofliam/ileastic-webapi
- Owner: worksofliam
- Created: 2023-06-15T07:57:26.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-06-15T08:07:07.000Z (about 3 years ago)
- Last Synced: 2025-07-01T11:51:06.580Z (about 1 year ago)
- Topics: ibmi, rpgle
- Language: Makefile
- Homepage:
- Size: 28.3 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
## ileastic-webapi sample
This is a template repo with small important examples to get going with [ILEastic](https://github.com/sitemule/ILEastic) with VS Code.
### Installation for ILEastic
ILEastic and noxDb installation on IBM i is very simple.
```sh
git clone --recurse-submodules https://github.com/sitemule/ILEastic.git
cd ILEastic
gmake
```
This will create a library named `ILEASTIC`, which has two binding directories:
* `ILEASTIC` which has the `ILEASTIC` service program inside of it
* `NOXDB` which has the `NOXDB` service program inside of it
### Usage
After installation and cloning this template, open it inside of VS Code and connect to a system. VS Code may show you a message about installing recommended extensions - which are the IBM i specific extensions.
Ensure `ILEASTIC` is on your library list and set your current library to where you want the new objects to be built.
Next, you can open one of the sources in the `samples` directory and they can be compiled into program objects (Control + E / Command + E).

### Running your web API
Add `ILEASTIC` to your library list, as well as the library you compiled your program objects into.
You can use `SBMJOB` to start your web API:
```cl
SBMJOB CMD(CALL PGM(helloworld)) ALWMLTTHD(*YES) JOB(helloworld) JOBQ(QSYSNOMAX)
```