This is the Jifeng Chen's implementation of SIT323 4.2C
To utilize this demonstration, please follow the steps below:
-
Firstly, initiate the server by executing the following command:
node server.js
This command will launch a Node.js process on the server, listening on port 3040.
-
Next, open your preferred web browser and navigate to the following address:
http://localhost:3040/modulo?n1=10&n2=6
http://localhost:3040/exponentiation?n1=10&n2=6
http://localhost:3040/sqrt?n1=10This action will prompt the server to execute the corresponding arithmetic operation
-
Finally, the server will respond with the answer of the arithmetic operation