{"id":21064541,"url":"https://github.com/tawfik-s/imageprocessingapi","last_synced_at":"2026-04-07T16:32:29.181Z","repository":{"id":122989254,"uuid":"525396898","full_name":"tawfik-s/imageProcessingApi","owner":"tawfik-s","description":"image processing api for resizeing images and return endpoint to access the image using it","archived":false,"fork":false,"pushed_at":"2022-08-16T17:04:47.000Z","size":10760,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-03T08:53:14.477Z","etag":null,"topics":["apitest","eslint","express","jasmine-tests","joi","node-js","prettier","sharp","supertest","typescript","unit-testing"],"latest_commit_sha":null,"homepage":"","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/tawfik-s.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-08-16T13:41:52.000Z","updated_at":"2022-08-16T14:58:13.000Z","dependencies_parsed_at":null,"dependency_job_id":"cc3011c7-7218-4845-adc8-87216e761fa5","html_url":"https://github.com/tawfik-s/imageProcessingApi","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tawfik-s/imageProcessingApi","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tawfik-s%2FimageProcessingApi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tawfik-s%2FimageProcessingApi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tawfik-s%2FimageProcessingApi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tawfik-s%2FimageProcessingApi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tawfik-s","download_url":"https://codeload.github.com/tawfik-s/imageProcessingApi/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tawfik-s%2FimageProcessingApi/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31520519,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-07T16:28:08.000Z","status":"ssl_error","status_checked_at":"2026-04-07T16:28:06.951Z","response_time":105,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["apitest","eslint","express","jasmine-tests","joi","node-js","prettier","sharp","supertest","typescript","unit-testing"],"created_at":"2024-11-19T17:49:56.128Z","updated_at":"2026-04-07T16:32:29.147Z","avatar_url":"https://github.com/tawfik-s.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# imageProcessingApi\n\nimage processing api for resizeing images and return endpoint to access the image using it\n\n## Setup Steps\n\nTo get started:\n\n1-clone the repo on the machine\n\n2-install all dependencies by running 'npm install' command\n\n3-run npm test to test and build the project all tests must success\n\n4-but the images you want to resize in the images/full folder\n\n#### Runing the program locally in development mode\n\n`npm run start`\n\n-and then head to your browser at `localhost:3000` and it should be working.\n\n#### Test the app\n\n    npm run test\n\n#### Runing the program locally in production mode\n\n`npm run build`\n\n`node dist/index.js`\n\n#### Code formating\n\nI'm using prettier\nnpm run prettier\nI'm using eslint\nnpm run lint\n\n### you can use this api using all of this images\n\n• encenadaport.jpg\n• fjord.jpg\n• icelandwaterfall.jpg\n• palmtunnel.jpg\n• santamonica.jpg\n\n### Examples\n\n1)`http://localhost:3000/api/image_resize?name=fjord.jpg\u0026height=300\u0026width=300`\n\n(retrieve the image with hight=300 and width=300 which name fjord.jpg_height300_width300.jpg if you use image format he will use it)\n\n2)`http://localhost:3000/api/image_resize?name=fjord\u0026height=300\u0026width=300`\n\n(you can also use it without image format he will make it default jpg)\n\n### scripts\n\n- `npm run test` to test the project\n- `npm run build` convert typescript to javascript in dist folder\n- `npm run run` build and run the project\n- `npm lint` run eslint\n- `npm run prettier`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftawfik-s%2Fimageprocessingapi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftawfik-s%2Fimageprocessingapi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftawfik-s%2Fimageprocessingapi/lists"}