Skip to content

Project 1: Image Processing API -Advanced Full-Stack Web Development -Egypt Future Work is Digital Scholarship

Notifications You must be signed in to change notification settings

ahmednet0001/Image-Processing-API

Repository files navigation

Image Processing API

Building an API that can be used in two different ways. As a simple placeholder API, the first allows you to place images into your frontend with the size set via URL parameters (and additional stylization if you choose) for rapid prototyping .

Description

In this project, the server scales the image to be displayed according to the sizes required in the parameters width , height in the link. http://localhost:38800/image?filename=encenadaport&&width=300&&height=200 It creates a thumbnail of the image and saves it for further use. You can change server port inside .env file PORT=38800

Usage

To start server for nodemon

 npm run start

To build server for dist

 npm run build

To test

 npm run test

To formatting

 npm run prettier

To linting for code errors

 npm run lnt

TODO

  1. API endpoint test
  2. Create thumbnail test
  3. Documentation

About

Project 1: Image Processing API -Advanced Full-Stack Web Development -Egypt Future Work is Digital Scholarship

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published