Skip to content

openocean-finance/OpenOcean-API

Repository files navigation

Notice

We strongly recommend that users deploy it themselves, rather than simply call it!

openocean-api

openocean-api using typescript && egg

QuickStart

Development

$ npm i
$ npm run dev
$ open http://localhost:7003/

Don't tsc compile at development mode, if you had run tsc then you need to npm run clean before npm run dev.

Deploy

$ npm run tsc
$ npm start

Npm Scripts

  • Use npm run lint to check code style
  • Use npm test to run unit test
  • se npm run clean to clean compiled js at development mode once

Requirement

  • Node.js 8.x
  • Typescript 2.8+