{"id":21828767,"url":"https://github.com/mo2men-dev/image-processing-api","last_synced_at":"2026-04-11T03:03:47.678Z","repository":{"id":177092309,"uuid":"514995632","full_name":"Mo2men-dev/image-processing-api","owner":"Mo2men-dev","description":"EGFWD Advanced Full-Stack Web Development Nanodegree Program, Project 1: Image Processing API","archived":false,"fork":false,"pushed_at":"2022-07-18T10:39:03.000Z","size":10908,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-26T08:41:43.643Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Mo2men-dev.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-07-18T01:16:24.000Z","updated_at":"2022-07-18T02:07:17.000Z","dependencies_parsed_at":"2023-07-25T16:46:49.473Z","dependency_job_id":null,"html_url":"https://github.com/Mo2men-dev/image-processing-api","commit_stats":null,"previous_names":["mo2men-dev/image-processing-api"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mo2men-dev%2Fimage-processing-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mo2men-dev%2Fimage-processing-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mo2men-dev%2Fimage-processing-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mo2men-dev%2Fimage-processing-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Mo2men-dev","download_url":"https://codeload.github.com/Mo2men-dev/image-processing-api/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244798191,"owners_count":20511999,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-27T18:17:49.501Z","updated_at":"2025-12-30T20:06:44.394Z","avatar_url":"https://github.com/Mo2men-dev.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Description\nA simple Image Processing API for The EGFWD Nanodegree\n\n# How to Install\n\n1. clone the repository\n2. cd into the directory\n3. `npm install`\n\n# Dependencies\n- [express](https://expressjs.com/)\n- [sharp](https://sharp.pixelplumbing.com/)\n- [eslint](https://eslint.org/)\n- [prettier](https://prettier.io/)\n- [nodemon](https://nodemon.io/)\n- [jasmine](https://jasmine.github.io/)\n\n# Scripts\n\n- `npm run build` : build the project for production\n- `npm run dev` : start the project in development mode\n- `npm run test` : run the tests\n- `npm run lint` : run the linter\n- `npm run start` : start the project in production mode\n- `npm run prettier` : run the prettier formatter\n\n# Usage\n    $ npm run dev\n\nserver listens on port 3000\n\n### Instrunctions will be at : \n(http://localhost:3000/api/images)\n\n### Query Parameters :\n- f : file name [required] \n    - Available Images : [encenadaport , fjord , icelandwaterfall , palmtunnel , santamonica]\n- w : width of the image (1 \u003c width 2000)\n- h : height of the image (1 \u003c height \u003c 2000)\n\n\u003eBoth w and h are optional. If both are not provided, the image will be returned in its original size but to resize the Image Both must be provided.\n\n# Examples :\n| Query | Response |\n|-------|----------|\n| `f=palmtunnel\u0026w=100\u0026h=100` | palmtunnel.jpg with a width of 100 and a height of 100 |\n| `f=palmtunnel\u0026w=100` | returns an Error Both width and height must be provided to resize |\n| `f=palmtunnel\u0026h=100` | returns an Error Both width and height must be provided to resize |\n| `f=palmtunnel` | palmtunnel.jpg |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmo2men-dev%2Fimage-processing-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmo2men-dev%2Fimage-processing-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmo2men-dev%2Fimage-processing-api/lists"}