{"id":18709227,"url":"https://github.com/jojoee/map-based-search","last_synced_at":"2026-05-14T21:05:16.891Z","repository":{"id":33698241,"uuid":"37351331","full_name":"jojoee/map-based-search","owner":"jojoee","description":":globe_with_meridians: (Unmaintained) Simple responsive website that allows the user to search for a city  and displays tweets that mention the city on a map.","archived":false,"fork":false,"pushed_at":"2016-11-20T17:30:52.000Z","size":241,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-23T20:47:54.613Z","etag":null,"topics":["city","laravel","map","search-tweets","tweets"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jojoee.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-06-13T00:35:48.000Z","updated_at":"2022-04-30T05:20:38.000Z","dependencies_parsed_at":"2022-09-13T05:12:35.438Z","dependency_job_id":null,"html_url":"https://github.com/jojoee/map-based-search","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jojoee/map-based-search","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jojoee%2Fmap-based-search","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jojoee%2Fmap-based-search/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jojoee%2Fmap-based-search/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jojoee%2Fmap-based-search/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jojoee","download_url":"https://codeload.github.com/jojoee/map-based-search/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jojoee%2Fmap-based-search/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33043266,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-13T13:14:54.681Z","status":"online","status_checked_at":"2026-05-14T02:00:06.663Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["city","laravel","map","search-tweets","tweets"],"created_at":"2024-11-07T12:26:47.706Z","updated_at":"2026-05-14T21:05:16.872Z","avatar_url":"https://github.com/jojoee.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Map Based Search\nSimple responsive website that allows the user to search for a city  and displays tweets that mention the city on a map. (support english only)\n\n## Getting Started\n1. Setup web server\n2. Install [Composer](https://getcomposer.org/)\n3. Browse to project directory\n4. Install dependencies: `composer install`\n5. Setup config below and seed database by: `php artisan migrate`\n```\n5.1 Server environment variable\nSetEnv MBS_SITE_ENV \"prod\"\nSetEnv MBS_SERVER_NAME \"mbs.jojoee.com\"\n\n5.2 Database\napp/config/database.php\napp/config/local/database.php\n\n5.3 Constant\napp/config/constants.php\n```\n\n## Screenshot\n[![Screenshot 1](https://raw.githubusercontent.com/jojoee/map-based-search/master/screenshot/screenshot1.jpg \"Screenshot 1\")](http://mbs.jojoee.com/)\n\n## Feature\n- [x] Responsive\n- [x] User searches for a city and display user (that tweet the city) profile picture as the `Marker`, show between 10-20 tweets\n- [x] Search tweets (tweet's radius: 50km) that contain `city` name, within 50km of location and contain coordinate data\n- [x] When click the `Marker` then display `info window` which contain tweet's text and tweet's time\n- [x] Search history (history of searches made) order by most recent first\n- [x] Cache tweet (Backend): MySQL (1 hour for each location)\n- [ ] Cache tweet (Frontend): localStorage\n- [x] History search: Use cookies to identify the user (20 maximum search history item)\n- [x] Map by [Google Maps](https://www.google.co.th/maps) with [Snazzy Maps](https://snazzymaps.com/)\n- [ ] Task runner: [gulp.js](http://gulpjs.com/), also create build Frontend script\n- [ ] Implement ORM (e.g. [Doctrine](http://www.doctrine-project.org/))\n- [ ] Upgrade to Laravel 5.3\n- [ ] Add deployment script (e.g. [Deployer](https://deployer.org/))\n- [ ] City auto completion (or city validation)\n- [ ] Popup error message when not found any tweet from search\n- [x] Database migration \u0026 seed\n- [ ] Add redundant resources\n- [ ] Test (Backend): User acceptance\n- [ ] Test (Backend): Unit\n- [ ] Test (Backend): Functional\n- [ ] Test (Frontend): Unit\n- [ ] Test (Frontend): E2E\n- [ ] Refactor (Backend): Route\n- [ ] Refactor (Backend): Model\n- [ ] Refactor (Backend): Separate business logic out off controller (create Service for business logic)\n- [ ] Refactor (Javascript): Convert to module pattern\n- [ ] Using `faker` for dummy stuff\n\n## Compatibility\n- Google Chrome 51+\n- Internet Explorer 10+\n- Mozilla Firefox 43+\n- Opera 41+\n- Safari (desktop) 5+\n\n## Note\n- Laravel 4.2\n- Javascript DocBlockr: [JSDoc](http://usejsdoc.org/)\n- PHP Code styling: [PhpStorm Laravel Code Style](https://github.com/michaeldyrynda/phpstorm-laravel-code-style) instead of [Laravel 4.2](http://laravel.com/docs/4.2/contributions)\n- PHP DocBlockr: [phpDocumentor](http://phpdoc.org/)\n- Javascript Code styling: [Airbnb](https://github.com/airbnb/javascript)\n- [WinLess](http://winless.org/online-less-compiler): Online LESS Compiler\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjojoee%2Fmap-based-search","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjojoee%2Fmap-based-search","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjojoee%2Fmap-based-search/lists"}