@freight-trust/editoken-api

1.0.0 • Public • Published

EDIToken

EDI Token API

Get Started

Get started developing...

# install deps
npm install

# run in development mode
npm run dev

# run tests
npm run test

Install Dependencies

Install all package dependencies (one time operation)

npm install

Usage

Production should use pm2, etc.

Run in development mode

Runs the application is development mode. Should not be used in production

npm run dev

or debug it

npm run dev:debug

Run in production mode

Compiles the application and starts it in production production mode.

npm run compile
npm start

Testing

Run the Mocha unit tests

npm test

or debug them

npm run test:debug

Local Development

  • Open you're browser to http://localhost:3000

  • Invoke the /token endpoint

    curl http://localhost:3000/contract/api/v1/token

Troubleshooting

Email Support@Freight.Zendesk.com

Server

npm run dev:debug

Debug Tests

npm run test:debug

Linting

View airbnb linter output

npm run lint

Fix all airbnb linter errors

npm run lint

License

Apache-2.0

/@freight-trust/editoken-api/

    Package Sidebar

    Install

    npm i @freight-trust/editoken-api

    Weekly Downloads

    9

    Version

    1.0.0

    License

    Apache-2.0

    Unpacked Size

    145 kB

    Total Files

    160

    Last publish

    Collaborators

    • sambacha