{"id":21829390,"url":"https://github.com/fzldn/ecommerce-parser","last_synced_at":"2026-04-15T08:37:10.488Z","repository":{"id":38162848,"uuid":"233077100","full_name":"fzldn/ecommerce-parser","owner":"fzldn","description":".jsonl file ecommerce order data parser, using Laravel Framework","archived":false,"fork":false,"pushed_at":"2023-01-05T04:59:38.000Z","size":934,"stargazers_count":0,"open_issues_count":19,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-03-21T12:58:04.047Z","etag":null,"topics":["aws-s3","docker","docker-compose","laravel","php","phpcs","rest-api","swagger"],"latest_commit_sha":null,"homepage":"","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/fzldn.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}},"created_at":"2020-01-10T15:35:36.000Z","updated_at":"2021-06-01T16:09:16.000Z","dependencies_parsed_at":"2023-02-03T11:31:02.349Z","dependency_job_id":null,"html_url":"https://github.com/fzldn/ecommerce-parser","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/fzldn/ecommerce-parser","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fzldn%2Fecommerce-parser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fzldn%2Fecommerce-parser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fzldn%2Fecommerce-parser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fzldn%2Fecommerce-parser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fzldn","download_url":"https://codeload.github.com/fzldn/ecommerce-parser/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fzldn%2Fecommerce-parser/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31833836,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-15T07:17:56.427Z","status":"ssl_error","status_checked_at":"2026-04-15T07:17:30.007Z","response_time":63,"last_error":"SSL_read: 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":["aws-s3","docker","docker-compose","laravel","php","phpcs","rest-api","swagger"],"created_at":"2024-11-27T18:27:03.389Z","updated_at":"2026-04-15T08:37:10.457Z","avatar_url":"https://github.com/fzldn.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# e-Commerce Parser\n\njsonlines `.jsonl` file e-commerce order data parser using Laravel framework.\n\nhere's the [example file](https://s3-ap-southeast-2.amazonaws.com/catch-code-challenge/challenge-1-in.jsonl)\n\n## Installation\n\nYou need to install [Docker](https://www.docker.com/get-docker) on your local machine before running this app. after docker installed on your local machine, run command below\n\n```\ncd ecommerce-parser\ndocker-compose up -d\n```\n\nafter Docker container running, run these commands below\n\n```\ndocker-compose exec app cp .env.example .env\ndocker-compose exec app composer install\ndocker-compose exec app php artisan migrate\n```\n\nvoila, your app ready to use...\n\nTo see API Documentation you can see on this link [http://localhost:8000/api/documentation](http://localhost:8000/api/documentation), before you playing around with API Documentation you have to run parser first with `--db` option to import parsed order data into database. see [How to running parser](#running-parser) for the detail.\n\nThen to see Database Admin (phpMyAdmin) you can see on this link [http://localhost:8080](http://localhost:8080)\n\n### Email Configuration\n\nOpen `.env` file with your favorite editor, and edit these lines\n\n```\nMAIL_DRIVER=smtp\nMAIL_HOST=smtp.mailtrap.io\nMAIL_PORT=2525\nMAIL_USERNAME=null\nMAIL_PASSWORD=null\nMAIL_ENCRYPTION=null\nMAIL_FROM_ADDRESS=admin@example.org\nMAIL_FROM_NAME=\"${APP_NAME}\"\n\nMAILGUN_DOMAIN=\nMAILGUN_SECRET=\n```\n\nmailgun driver example\n\n```\nMAIL_DRIVER=mailgun\n...\nMAILGUN_DOMAIN=your-mailgun-domain\nMAILGUN_SECRET=your-mailgun-key\n```\n\nsmtp driver with [mailcatcher](https://mailcatcher.me) example\n\n```\nMAIL_DRIVER=smtp\nMAIL_HOST=host.docker.internal\nMAIL_PORT=1025\n```\n\nor you can use your own smtp configuration\n\n```\nMAIL_DRIVER=smtp\nMAIL_HOST=smtp.mailtrap.io\nMAIL_PORT=465\nMAIL_USERNAME=your-smtp-username\nMAIL_PASSWORD=your-smtp-password\nMAIL_ENCRYPTION=tls\n```\n\n## Running Parser\n\nRun command help for detail\n\n```\ndocker-compose exec app php artisan parser:run --help\n```\n\n### Parsing Example\n\n```\ndocker-compose exec app php artisan parser:run https://s3-ap-southeast-2.amazonaws.com/catch-code-challenge/challenge-1-in.jsonl\n```\n\n### Parsing Example with specific output format\n\n```\ndocker-compose exec app php artisan parser:run --format=jsonl https://s3-ap-southeast-2.amazonaws.com/catch-code-challenge/challenge-1-in.jsonl\n```\n\n### Parsing Example with send to email the output data\n\n```\ndocker-compose exec app php artisan parser:run --email=someone@example.org https://s3-ap-southeast-2.amazonaws.com/catch-code-challenge/challenge-1-in.jsonl\n```\n\n### Parsing Example with import to DB\n\n```\ndocker-compose exec app php artisan parser:run --db https://s3-ap-southeast-2.amazonaws.com/catch-code-challenge/challenge-1-in.jsonl\n```\n\n## Coding Standard\n\nThis project using PSR-2 coding standard.\n\n### Code Linting\n\nRun command below for code linting following coding standard.\n\n```\ndocker-compose exec app vendor/bin/phpcs\n```\n\n### Code Standard Fixer\n\nRun command below for fixing your coding standard automatically.\n\n```\ndocker-compose exec app vendor/bin/phpcbf\n```\n\nif some files can't go auto fix, you have to fix manually.\n\n## Creator\n\n- [Faizal Dwi Nugraha](mailto:f4154lt@yahoo.co.id)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffzldn%2Fecommerce-parser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffzldn%2Fecommerce-parser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffzldn%2Fecommerce-parser/lists"}