This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import express from 'express' | |
import bodyParser from 'body-parser' | |
import rp from 'request-promise' | |
import Stellar from 'stellar-sdk' | |
/* Initialize app and configure bodyParser */ | |
const port = process.env.PORT || 4000 | |
const app = express() | |
app.use(bodyParser.json()) |