Nihal_Razak-SDK
SDK in Typescript that makes this API accessible to other developers. The SDK only needs to cover the movie and quote endpoints:
- /movie
- /movie/{id}
- /movie/{id}/quote
- /quote
- /quote/{id}
Development
-
npm run build
to compile TS -> JS. This is configured to incrementaly compile files insrc
outout todist
. -
npm run watch
to compile files insrc
todist
, watching for any changes and incrementaly rebuilding whenever file changes are made insrc
. -
npm run clean
to removedist
.
Running
npm run start
- uses
ts-node
to run the entrypointsrc/index.ts
SDK Design and Usage
Please read Design and Usage Documentation carefully.
Test
npm run test