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

https://github.com/yousifabozid/image-processing-api

A project made as part of Udacity Nanodegree
https://github.com/yousifabozid/image-processing-api

Last synced: 25 days ago
JSON representation

A project made as part of Udacity Nanodegree

Awesome Lists containing this project

README

        

## Image Processing API

A project made as part of Udacity Nanodegree

### Installing

- Download or clone the project
- Run `npm install`

### Run Development Server

- Run `npm run dev`

### Testing

- Run `npm run test`

### Building

- Run `npm run build`
- Put the image you want to resize under `assets/full` (The image must be in .jpg format)
- Start the app with `npm start`
- Use this endpoint `http://localhost:3000/images` with three parameters filename, width and height, filename must be the name of your image from `assets/full` and put the width and the height you want
- Example: `http://localhost:3000/api/images?filename=fjord&width=500&height=500`
- You can find your resized image in `assets/thumb` and also you can see it in the browser.

#### Finaly look at `package.json` and discover other script.

#### Happy Coding :)