25 lines
536 B
Markdown
25 lines
536 B
Markdown
# RestCOBOL
|
|
|
|
RestCobol is a "Framework", that allows to make COBOL Procedures available via Rest.
|
|
All Endpoints are defined in a single yaml file.
|
|
|
|
## Running the Project
|
|
|
|
Start Server with `just run`, or build the image with `just build`
|
|
|
|
## Cobol parsing
|
|
|
|
A CopyBook will be parsed into usable JSON, like this:
|
|
```cpy
|
|
01 STUDENT.
|
|
05 ST_ID PIC 9(5).
|
|
05 FIRST_NAME PIC X(20).
|
|
05 LAST_NAME PIC X(20).
|
|
```
|
|
```json
|
|
{
|
|
"stId": 34401,
|
|
"firstName": "Lukas",
|
|
"lastName": "King"
|
|
}
|
|
``` |