Image API is an image storage and retrieval service written in node that can be accessed using APIs
You can issue a POST /api/images
that includes an images within a multi-part payload, the name of the multi-part field should be images
.
You can request an existing image using GET /api/images?id=IMAGE_ID_HERE
to receive the image
- Run
npm install
to install dependencies - Run
npm i -g typescript
to install typescript - Run
tsc
to build the source - Run
node .
to run the compiled source
Configurations for the application as under /config
.
Requests are logged using morgan.
Linting and Prettier are enabled, please refer to scripts
in package.json
.