An open API service indexing awesome lists of open source software.

https://github.com/farisc0de/imageprocessingapi

Express API to resize images
https://github.com/farisc0de/imageprocessingapi

Last synced: 4 months ago
JSON representation

Express API to resize images

Awesome Lists containing this project

README

          

# ImageProcessingAPI
Express API that resize image to a specific hight and width

## About Project

a simple API that resize image to a specific hight and width

## How to install

```
npm install && npm run dev
```

## API Endpoint

1. "/" : main endpoint
2. "/images" : take an image name and widht an height

## Simple Example

```
http://localhost:3000/images?filename=image.jpg&width=150&height=150
```

## How to test

```
npm run test
```

## How to build

```
npm run build
```

## Other scripts

1. ``npm run lint``: Eslint
2. ``npm run format``: Format the code

## Screenshots

![](https://i.imgur.com/On60ivq.png)

![](https://i.imgur.com/uTvMZnU.png)

![](https://i.imgur.com/PJ4M94C.png)

## License

MIT