This project aims to create a web app that uses Web API and user query-data to Process images.
Here is The steps to install the app
- install Nodejs@v12.13.0 from https://nodejs.org/download/release/v12.13.0/win-x86/
- check npm version I'd recommend npm@6.12.0 to have no issue
- In your commandline type 'npm install' and it will automatically install all the node packages used in our app
- Build our app and start our server it using 'npm start' script
- You will see in your command a message 'Image-Processing app Running at http://localhost:3000'
- Visit http://localhost:3000/ for more instructions
- Visit http://localhost:3000/image?filename=index.jpg&width=200&height=200 to test processing index image
If you are interested in testing the code as you go, you can use npm test
for running some basic tests on the code.