Skip to content

Commit

Permalink
Add comment to Node.js example application
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikOnBike committed Mar 1, 2024
1 parent 89c3d5b commit 68e412d
Showing 1 changed file with 15 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
"
I am an example application for use with Node.js.
I am a calculating HTTP Server.
Try sending me as URL ""/add:42"" to add a number. You can also use ""/subtract:7"", ""/multiply:3"" or ""/divide:2.5"".
Or combine calculations ""/add:3/subtract:7/multiply:3.1/subtract:2.78"".
You can repeatedly perform calculations. To see the current value use ""/value"".
To remove the last calculation use ""/undo"", to remove all calculations use ""/reset"".
You can snapshot the image using ""/snapshot"". From that point, the image is ""sealed"" and no
updates can be made to the image using the CodeParadise server. The image can be snapshotted
again later to store the current calculation once more. Every snapshot will overwrite the image.
(I do not support LargeIntegers on input, but do support such outcomes)
Have fun!
"
Class {
#name : #CpNodeJSSupportExampleHttpServerApplication,
#superclass : #CpServerApplication,
Expand Down

0 comments on commit 68e412d

Please sign in to comment.