diff --git a/README.md b/README.md index d5f1721..2d15dbc 100644 --- a/README.md +++ b/README.md @@ -8,5 +8,22 @@ - DroneCI - Lerna Support +# Quick Start +- Start +```shell +yarn start +``` +- Navigate +```shell +curl http://localhost:3000 +``` +- Response +```json +{ + "startedAt": "2021-09-13T13:21:04.184Z", + "message": "Instance id: presenter#143470", + "status": "OK" +} +``` ### Contributors - Sambo Chea \ No newline at end of file diff --git a/src/server.ts b/src/server.ts index 3a9fdeb..2850e1b 100644 --- a/src/server.ts +++ b/src/server.ts @@ -11,7 +11,7 @@ const app = Express() const httpServer = createServer(app) info( - `Application server running on: ${hostId} at port: ${SERVER_PORT} and started at: ${startedAt}` + `Application server running on: ${hostId} at: http://0.0.0.0:${SERVER_PORT} and started at: ${startedAt}` ) httpServer.listen(SERVER_PORT)