-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9ab6878
commit 3333ea9
Showing
1 changed file
with
15 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,24 @@ | ||
# Image Processing API | ||
|
||
A Simple API built using express framework that allows to display images on a web page with the size of the image is set via URL parameters. | ||
|
||
## Things this api do | ||
|
||
- Resizing images | ||
- Serving cached images | ||
|
||
To start server: `npm run start:server` | ||
## To run the server | ||
|
||
`npm run start:server` | ||
|
||
## To build the server | ||
|
||
`npm run build` | ||
|
||
## To run tests | ||
|
||
To build: `npm run build` | ||
`npm run test` | ||
|
||
To test: `npm run test` | ||
## Endpoint to test the api | ||
|
||
Endpoint: `http://localhost:4000/api/images?filename=fjord&width=200&height=400` |