{"id":15188337,"url":"https://github.com/jgardezi/flickr-search","last_synced_at":"2026-02-04T08:36:47.646Z","repository":{"id":142514631,"uuid":"101782572","full_name":"jgardezi/flickr-search","owner":"jgardezi","description":"Flickr API example API, allow a user to search for photos","archived":false,"fork":false,"pushed_at":"2017-08-31T09:05:03.000Z","size":500,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-27T03:14:49.689Z","etag":null,"topics":["flickr-api","flickr-search","laravel","laravel54","rest-api","search","travis-ci","unittest"],"latest_commit_sha":null,"homepage":null,"language":"PHP","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/jgardezi.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":"2017-08-29T16:25:21.000Z","updated_at":"2017-08-29T16:28:21.000Z","dependencies_parsed_at":null,"dependency_job_id":"12dee9a2-ed52-4335-b509-6aec81ac29ea","html_url":"https://github.com/jgardezi/flickr-search","commit_stats":{"total_commits":13,"total_committers":1,"mean_commits":13.0,"dds":0.0,"last_synced_commit":"de5cfb92d923da6ed3bd63d3c6397634bcedb75a"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jgardezi/flickr-search","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jgardezi%2Fflickr-search","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jgardezi%2Fflickr-search/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jgardezi%2Fflickr-search/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jgardezi%2Fflickr-search/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jgardezi","download_url":"https://codeload.github.com/jgardezi/flickr-search/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jgardezi%2Fflickr-search/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265866140,"owners_count":23840937,"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":["flickr-api","flickr-search","laravel","laravel54","rest-api","search","travis-ci","unittest"],"created_at":"2024-09-27T19:03:42.712Z","updated_at":"2026-02-04T08:36:47.620Z","avatar_url":"https://github.com/jgardezi.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\u003cimg src=\"https://laravel.com/assets/img/components/logo-laravel.svg\"\u003e\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n\u003ca href=\"https://travis-ci.org/jgardezi/flickr-search\"\u003e\u003cimg src=\"https://travis-ci.org/jgardezi/flickr-search.svg\" alt=\"Build Status\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n## Flickr Photo Search\n\nSimple Flickr Search API allows users to search for photos by **tags** and allows users to go to full details of photos.\n\nThe project is structured using repository pattern. It provide a layer of abstraction over the datasource/database. Instead of \ndirectly interacting with the Flickr API's, the controllers interact with a repository class that encapsulates all the \nAPI layer interactions. \n\nThe advantage of this approach is that controller is no longer directly coupled to the model layer. For small projects \nlot of unnecessary boilerplate has been added. However, for larger projects with more complexity and changing requirements,\nthis layer of abstraction is incredibly useful.\n\n- Easily migrate to a different ORM or database layer technology.\n- Easily \"mock\" the repository class in unit tests.\n\n**Flickr API's**\n- [flickr.photos.search](https://www.flickr.com/services/api/flickr.photos.search.html)\n- [flickr.photos.getInfo](https://www.flickr.com/services/api/flickr.photos.getInfo.html)\n\n### Requirements\n- PHP \u003e= 7\n- MCrypt PHP Extension\n- Composer\n- Laravel Homestead\n- Travis CI - For Code Quality, Consistency, Adherence to standards and Automated Tests\n\n## Setup\n- Clone this repository\n- In the project directory issue `composer install` command\n- Install node packages `npm install`\n- Build JS and CSS using `npm run dev`\n- To see on web browser `php artisan serve` or use Homestead\n\n## Application Testing/Demo\n- Using web browser path: [demo link](http://flickr-search.ap-southeast-2.elasticbeanstalk.com/flickr)\n- Testing covers basic Unit and Functional Testing. If using Homestead run `phpunit` in the project directory.\n\n## Future improvement\n- Dockers\n- Micro-services (use of Lumen framework instead Laravel, more generic)\n\n## TODO\n- Better UI implementation\n- Expose search API's (optional)\n\n## References\n- The Laravel framework is open-sourced software licensed under the [MIT license](http://opensource.org/licenses/MIT).\n- [jeroen-g/flickr](https://github.com/Jeroen-G/Flickr): Flickr API integration\n- [laravelcollective/html](https://laravelcollective.com/docs/5.4/html): Laravel HTML forms\n- [Repository Pattern](https://bosnadev.com/2015/03/07/using-repository-pattern-in-laravel-5/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjgardezi%2Fflickr-search","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjgardezi%2Fflickr-search","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjgardezi%2Fflickr-search/lists"}