Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/ahmedanwar1/image_processing_api_udacity

Image processing API built using Typescript, Node JS, Express & Jasmine as a testing framework
https://github.com/ahmedanwar1/image_processing_api_udacity

express jasmine nodejs typescript udacity udacity-nanodegree

Last synced: 6 days ago
JSON representation

Image processing API built using Typescript, Node JS, Express & Jasmine as a testing framework

Awesome Lists containing this project

README

        

# first install dependences

```
npm install
```

# script

```
npm run start: to start the server. "nodemon ./src/index.ts",
npm run build: to compile TS to JS. "npx tsc",
npm run test: to compile and run tests. "npm run build && npm run jasmine",
```

# endpoint

- endpoint to resize images
http://localhost:3000/api/images?fileName=fjord&height=200&width=900
- fileName: name of the image to resize
- height: height in pixels
- width: width in pixels