From ce813262c3b8babeda04393c1a69f9662c016aee Mon Sep 17 00:00:00 2001 From: Sambo Chea Date: Mon, 13 Sep 2021 20:25:18 +0700 Subject: [PATCH] Updated readme --- README.md | 17 +++++++++++++++++ src/server.ts | 2 +- 2 files changed, 18 insertions(+), 1 deletion(-) 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)