Skip to content

omar2h/Image-Processing-API

Repository files navigation

Image-Processing-API

Overview

This is the first project of udacity's advanced full-stack web development nanodegree. It is a simple placeholder API that allows us to place images into our frontend with the size set via url parameters.

Requirements

  • Node.js

List of all dependencies used

  • TypeScript
  • express
  • ts-node-dev
  • eslint
  • prettier
  • eslint-config-prettier eslint-plugin-prettier
  • jasmine
  • SuperTest
  • sharp
  • fs-extra
  • express-validator

Build, start and Test

1. Install all dependencies

npm install

2. Build

npm run build

3. Start

npm run start

4. Test

npm run test

Endpoints

Endpoint to resize image

http://localhost:3000/api/images

As an example:

http://localhost:3000/api/images?filename=fjord&width=100&height=200

Resources

A better Project structure

fs-extra

express-validator

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published