khalidmesbah / image-processing-api Goto Github PK
View Code? Open in Web Editor NEWImage Processing API
Home Page: https://mesbah-image-processing-api.onrender.com/
Image Processing API
Home Page: https://mesbah-image-processing-api.onrender.com/
Providing endpoint not only helps me as a reviewer to check the application but also any other developer working on the application to run the application easily.
Refer the screenshot.
Since I could not review image processing, I could not tell if you have provided error messages.
Although, as tip, I would provide you common error messages scenarios.
Missing filename, height or width.
Invalid input for filename e.g. fjord123.
Invalid input for height or width e.g. height=a, height=0 or height=-1.
format the code in readme.md file
It is very important to keep dependencies separate from devDependencies.
DevDependencies are used when you only need the packages for development.
They are not used in testing like jasmine, supertest etc.
In fact, you would not even need type definition support for any package since the production code would be build code that is written in javascript.
Prettier and Lint should be configured to run only on TS files before they build to JS.
You need not run it on JS or JSON files but it should run on all TS files.
Also, you can define your own configuration and rules for these formatters.
Use src/**/.ts instead of ./src/.ts in scripts.
Make the test pass
Image resizing does not work.
This maybe due to the way you have provided path to images.
It may work perfectly in your system but it would fail at other places.
Use __dirname to define absolute path,
The folder in which you are looking for resized images does not exist.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.