Methods
init()
Initializes the route.
- Source
startServer(port)
Starts an Express server.
Parameters:
| Name | Type | Default | Description |
|---|---|---|---|
port | number | 5000 | The port number on which the server will listen. |