Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ahmedsamyop/image-processing-api
Resize images by giving the width, height and file name, build with Node (Express)
https://github.com/ahmedsamyop/image-processing-api
express expressjs jasmine jasmine-tests node nodejs sharp supertest typescript
Last synced: 26 days ago
JSON representation
Resize images by giving the width, height and file name, build with Node (Express)
- Host: GitHub
- URL: https://github.com/ahmedsamyop/image-processing-api
- Owner: ahmedsamyop
- Created: 2024-09-12T12:09:02.000Z (about 2 months ago)
- Default Branch: main
- Last Pushed: 2024-09-12T12:13:30.000Z (about 2 months ago)
- Last Synced: 2024-09-30T16:47:08.298Z (about 1 month ago)
- Topics: express, expressjs, jasmine, jasmine-tests, node, nodejs, sharp, supertest, typescript
- Language: TypeScript
- Homepage:
- Size: 10.2 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Image Processing API
Resize images by giving the width, height and file name
## Build and Start Project
To Install all dependencies, run the following command
```bash
npm install
```To build, run the following command
```bash
npm run build
```To Start developing , run the following command
```bash
npm run dev
```To Start Production , run the following command
```bash
npm start
```## Testing | esLint | prettier
To test , run the following command
```bash
npm run test
```To code formating prettier , run the following command
```bash
npm run format
```To eslint , run the following command
```bash
npm run eslint
```To eslint fix code , run the following command
```bash
npm run eslint:fix
```## Endpoint
`/resize?filename=&width=&height=`
images Filename: `[encenadaport, fjord, icelandwaterfall, palmtunnel, santamonica]`
```bash
Example: localhost:3000/resize?filename=fjord&width=800&height=600
```