From 09d2e7b1a5369d7bdc9086de25610b682fab15af Mon Sep 17 00:00:00 2001 From: terminaldweller Date: Fri, 26 Feb 2021 06:59:18 +0330 Subject: fixed a typo. updated README --- README.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index b301084..5f55cc2 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ * hived is currently using redis as its DB because its tiny and fast.
* It sends notifications through telegram.
-Currently it has 4 endpoint:
+Currently it has 5 endpoint:
### /price Lets you ask for the price of the currency. You can determine the currency the value is returned in.
@@ -31,6 +31,9 @@ Gets the list of currencies that are available to be traded.
You can check under `./test` for some examples of curl commands.
+### /health +Returns the health status of the service.
+ ## How to Run Before you can run this, you need a [telegram bot token](https://core.telegram.org/bots#6-botfather) and a [changelly](https://changelly.com/) API key.
The keys are put in files and then given to Docker as secrets.The docker entrypoint script then exports these as environment variables.
@@ -53,7 +56,7 @@ Both the server itself and the redis image are alpine-based so they're pretty sm You can find the swagger and postman docs under `/api`.
## TODO -* fix travis +* ~~fix travis~~ * add unit tests * fix `hived -help` crashing * haproxy-ssl-termination -- cgit v1.2.3