This directory contains one express servers:
- AppServer.ts - express web server with parameter support
- App.ts - express server class that is constructed via AppServer.ts
Make sure you install the node.js server software. Ensure your path variable contains the execution path of the node.js binary.
To execute the server run the following commands:
-
install prerequisites: npm install
-
compile AppServer.ts: tsc AppServer.ts
-
execute AppServer: node AppServer.js
To test static server routes, try the following URL on the browser while the server is running:
To test dynaic server routes, try the following URL on the browser while the server is running: