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.
- Node.js
- TypeScript
- express
- ts-node-dev
- eslint
- prettier
- eslint-config-prettier eslint-plugin-prettier
- jasmine
- SuperTest
- sharp
- fs-extra
- express-validator
npm install
npm run build
npm run start
npm run test
Endpoint to resize image
http://localhost:3000/api/images
As an example:
http://localhost:3000/api/images?filename=fjord&width=100&height=200