https://github.com/yousifabozid/image-processing-api
A project made as part of Udacity Advanced Full Stack Nanodegree
https://github.com/yousifabozid/image-processing-api
expressjs jasmine javascript nodejs typescript
Last synced: about 1 month ago
JSON representation
A project made as part of Udacity Advanced Full Stack Nanodegree
- Host: GitHub
- URL: https://github.com/yousifabozid/image-processing-api
- Owner: YousifAbozid
- Created: 2023-01-21T22:49:27.000Z (over 3 years ago)
- Default Branch: source
- Last Pushed: 2023-07-20T05:09:41.000Z (almost 3 years ago)
- Last Synced: 2025-10-05T09:23:24.132Z (7 months ago)
- Topics: expressjs, jasmine, javascript, nodejs, typescript
- Language: JavaScript
- Homepage:
- Size: 20.7 MB
- Stars: 0
- Watchers: 0
- 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 :)