Home    Reflex Repo (GitHub)    About Hiconic    Organization (GitHub)   

Demo Examples

Hello World App

Get It

Download the application package unzip it to a folder of your choice

Run It

Change directory to the bin folder of the unzipped package and execute the run (bat/sh) script. A server will be started and you can try it out like this:

Using Browser

http://localhost:8080/api/main/Greet?name=fellow

Using CURL

curl http://localhost:8080/api/main/Greet?name=fellow

Study It

Reflex Demo Web App

Get It

Download the application package unzip it to a folder of your choice.

Run It

Change directory to the bin folder of the unzipped package and execute the run (bat/sh) script. A server will be started and you can try it out like this:

Using Browser

http://localhost:8080/api/main/ReverseText?text=hello

http://localhost:8080/api/main/GeneratePersons?personCount=100

Using CURL

curl http://localhost:8080/api/main/ReverseText?text=hello
curl http://localhost:8080/api/main/GeneratePersons?personCount=100

Study It

Reflex Demo CLI App

This application uses the same model and module as the Demo Web App but exposes it as a CLI endpoint to demonstrate the endpoint portability of a service module.

Get It

Download the application package unzip it to a folder of your choice

Run It

Change directory to the bin folder of the unzipped package and execute:

run reverse-text --text hello
run generate-persons --personCount 100

Study It