{"id":24488051,"url":"https://github.com/klejvi-ajdini/stock-api-iterator","last_synced_at":"2026-04-06T08:31:16.019Z","repository":{"id":272796514,"uuid":"917788646","full_name":"klejvi-ajdini/stock-api-iterator","owner":"klejvi-ajdini","description":"Laravel application implementing the Iterator pattern to efficiently manage and process stock data fetched from local JSON files, demonstrating API interaction and data rendering.","archived":false,"fork":false,"pushed_at":"2025-01-16T16:45:30.000Z","size":119,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-02T23:15:12.009Z","etag":null,"topics":["inertia","iterator-pattern","laravel","php","vue"],"latest_commit_sha":null,"homepage":"","language":"Vue","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/klejvi-ajdini.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-01-16T16:43:03.000Z","updated_at":"2025-05-15T13:33:43.000Z","dependencies_parsed_at":null,"dependency_job_id":"947df415-81fe-4123-b0e9-198b343f8186","html_url":"https://github.com/klejvi-ajdini/stock-api-iterator","commit_stats":null,"previous_names":["klejvi-ajdini/stock-api-iterator"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/klejvi-ajdini/stock-api-iterator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/klejvi-ajdini%2Fstock-api-iterator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/klejvi-ajdini%2Fstock-api-iterator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/klejvi-ajdini%2Fstock-api-iterator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/klejvi-ajdini%2Fstock-api-iterator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/klejvi-ajdini","download_url":"https://codeload.github.com/klejvi-ajdini/stock-api-iterator/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/klejvi-ajdini%2Fstock-api-iterator/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31464604,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-05T21:22:52.476Z","status":"online","status_checked_at":"2026-04-06T02:00:07.287Z","response_time":112,"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":["inertia","iterator-pattern","laravel","php","vue"],"created_at":"2025-01-21T16:18:10.332Z","updated_at":"2026-04-06T08:31:16.014Z","avatar_url":"https://github.com/klejvi-ajdini.png","language":"Vue","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Stock API Iterator\n\n## Description\nThis Laravel application demonstrates how to use the Iterator pattern to fetch and process paginated stock market data from a simulated API (JSON files in this case). It's designed to handle scenarios where data is retrieved in chunks, and provides an efficient way to iterate over potentially large datasets.\n\n## Setup\n\n1.  Clone the repository:\n\n    ```bash\n    git clone \u003crepository-url\u003e\n    cd stock-api-iterator\n    ```\n2. Install composer dependencies\n\n    ```bash\n    composer install\n    ```\n\n3. Copy `.env.example` to `.env` and add your APP_URL:\n\n    ```\n    cp .env.example .env\n    ```\n     Set the `APP_URL` to `http://localhost` in your `.env` file.\n4.  Install Sail:\n\n    ```bash\n    composer require laravel/sail --dev\n    php artisan sail:install\n    ```\n   * Select **0** `pgsql`\n   * Select **ENTER** to finish installation\n5.  Start Sail:\n\n    ```bash\n    ./vendor/bin/sail up -d\n    ```\n6. Generate an app key:\n    ```bash\n    ./vendor/bin/sail artisan key:generate\n    ```\n\n7.  Run Migrations\n    ```bash\n    ./vendor/bin/sail artisan migrate\n    ```\n\n8. Install Node Packages\n    ```bash\n    npm install\n    ```\n\n9. Run the development server for the front-end:\n\n    ```bash\n    npm run dev\n    ```\n10. Access your Application via http://localhost\n\n## Usage\n\n### Access Stock Data\n\nVisit `/stocks/{symbol}` to see stock data for the specified ticker symbol. Example: `/stocks/IBM`.\n\n### Access Quote Data\nVisit `/quote/{symbol}` to see quote data for the specified ticker symbol. Example: `/quote/IBM`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fklejvi-ajdini%2Fstock-api-iterator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fklejvi-ajdini%2Fstock-api-iterator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fklejvi-ajdini%2Fstock-api-iterator/lists"}