https://github.com/yousifabozid/image-processing-api
A project made as part of Udacity Nanodegree
https://github.com/yousifabozid/image-processing-api
Last synced: 25 days ago
JSON representation
A project made as part of Udacity Nanodegree
- Host: GitHub
- URL: https://github.com/yousifabozid/image-processing-api
- Owner: YousifAbozid
- Created: 2023-01-21T22:49:27.000Z (over 2 years ago)
- Default Branch: source
- Last Pushed: 2023-01-25T22:42:15.000Z (over 2 years ago)
- Last Synced: 2023-03-07T22:03:25.015Z (about 2 years ago)
- Language: JavaScript
- Size: 20.6 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Image Processing API
A project made as part of Udacity Nanodegree
### Installing
- Download or clone the project
- Run `npm install`### Run Development Server
- Run `npm run dev`
### Testing
- Run `npm run test`
### Building
- Run `npm run build`
- Put the image you want to resize under `assets/full` (The image must be in .jpg format)
- Start the app with `npm start`
- Use this endpoint `http://localhost:3000/images` with three parameters filename, width and height, filename must be the name of your image from `assets/full` and put the width and the height you want
- Example: `http://localhost:3000/api/images?filename=fjord&width=500&height=500`
- You can find your resized image in `assets/thumb` and also you can see it in the browser.#### Finaly look at `package.json` and discover other script.
#### Happy Coding :)