updated readme

master
Vic 2 years ago
parent ac382953b1
commit 30775e7b41

@ -9,19 +9,19 @@ Rather than needing to resize and upload multiple copies of the same image to be
# Installation
1- Install packages dependencies
1- Install packages dependencies.
`npm install`
2- build the project
2- build the project.
`npm build`
3- run the node server
3- run the node server.
`node ./build/index`
You can also run the code through the nodemon devepement server
You can also run the code through the nodemon devepement server.
`npm run start`
When the server is running, you can resize an image availible in the `images/full` folder by going to this url and adding parameters to resize the image
When the server is running, you can resize an image availible in the `images/full` folder by going to the following url and adding parameters to resize the image.
`http://localhost:5000/api/image?filename=encenadaport&width=200&height=200`
# Built with
@ -33,4 +33,5 @@ When the server is running, you can resize an image availible in the `images/ful
- Git
# Author
Anis Benziane

Loading…
Cancel
Save