API server to serve requests for past transactions from backup ripple database. This server replaces ripple's account_tx and DataAPI get-account-transaction-history
Database is imported from project https://github.com/inmyth/akka-mre-tx-exporter
For complete list of the API, run the server and open
http://host/v1
Install dependencies
npm install
Configure Database endpoint
- edit
env
(use env-template) - edit 'config/config.js' (use config.js.template)
Swagger Setup
This part is needed only when documentation path is changed. It is now set to host/v1
.
Swagger is API documentation tool. To make sure it is set correctly, open public/documentation/dist/index.html
and set the url
field under SwaggerUIBundle
.
Run
npm start
This project is using REST Express template taken from https://github.com/brianalois/node_rest_api_mysql