From 8c983df7fd4ee8e8404b41556fe1f08d7a284c21 Mon Sep 17 00:00:00 2001 From: fluency03 Date: Sun, 29 Apr 2018 17:05:19 +0200 Subject: [PATCH] add api docs --- README.md | 8 ++++++++ .../blockchain/api/routes/BlockchainRoutes.scala | 1 - 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 2083c46..cd6e0c2 100644 --- a/README.md +++ b/README.md @@ -12,3 +12,11 @@ Inspired by: - [Naivecoin](https://github.com/lhartikk/naivecoin) of [@lhartikk](https://github.com/lhartikk) REST API service is built on the open source projects [akka](https://github.com/akka/akka) and [akka-http](https://github.com/akka/akka-http). + +API Documentation on Postman: [blockchain-in-scala](https://documenter.getpostman.com/view/1231202/blockchain-in-scala/RVu8iTUP) + +Start the service, run the following Class: + +``` +com.fluency03.blockchain.api.Server +``` diff --git a/src/main/scala/com/fluency03/blockchain/api/routes/BlockchainRoutes.scala b/src/main/scala/com/fluency03/blockchain/api/routes/BlockchainRoutes.scala index 816a1b8..c32da2c 100644 --- a/src/main/scala/com/fluency03/blockchain/api/routes/BlockchainRoutes.scala +++ b/src/main/scala/com/fluency03/blockchain/api/routes/BlockchainRoutes.scala @@ -26,7 +26,6 @@ trait BlockchainRoutes extends RoutesSupport { * - GetTransactionOfABlock * - MineNextBlock * - * */ lazy val blockchainRoutes: Route =