DGCP3 / Image-Processing-API

Backend API that let users resize, sharpen, blur and change format of an image using sharp library.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Image Processing API

Run Locally

Clone the project

  git clone https://github.com/DGCP3/Image-Processing-API.git

Go to the project directory

  cd Image-Processing-API

Install dependencies

  npm install

Start the server

  npm run start

For testing

  npm test

Features

  • Resize image
  • Blur/Sharp image quality
  • Convert image format type
  • Other things that shap can handle

API Reference

Image processing route

  GET /image
Parameter Type Description
filename string Required. filename of image that you want to process
width number Optional. width of processed image
height number Optional. height of processed image
format string Optional. file type of processed image

Health check

  GET /

Return 200 if server is up and running

Tech Stack

Server: Typescript, Node, Express, Sharp

Authors

About

Backend API that let users resize, sharpen, blur and change format of an image using sharp library.


Languages

Language:TypeScript 98.8%Language:JavaScript 1.2%