{"id":20259714,"url":"https://github.com/an4xdev/online-shop","last_synced_at":"2026-06-06T12:31:26.847Z","repository":{"id":247783552,"uuid":"826836255","full_name":"an4xdev/online-shop","owner":"an4xdev","description":"Projekt stworzony do nauki framework'a Laravel","archived":false,"fork":false,"pushed_at":"2024-07-31T12:27:58.000Z","size":1817,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-03T18:47:34.066Z","etag":null,"topics":["blade","breeze","laravel","shop"],"latest_commit_sha":null,"homepage":"","language":"Blade","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/an4xdev.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}},"created_at":"2024-07-10T13:25:48.000Z","updated_at":"2024-08-28T20:10:47.000Z","dependencies_parsed_at":"2025-03-03T18:50:56.109Z","dependency_job_id":null,"html_url":"https://github.com/an4xdev/online-shop","commit_stats":null,"previous_names":["an4xdev/online-shop"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/an4xdev/online-shop","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/an4xdev%2Fonline-shop","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/an4xdev%2Fonline-shop/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/an4xdev%2Fonline-shop/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/an4xdev%2Fonline-shop/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/an4xdev","download_url":"https://codeload.github.com/an4xdev/online-shop/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/an4xdev%2Fonline-shop/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33983046,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-06T02:00:07.033Z","response_time":107,"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":["blade","breeze","laravel","shop"],"created_at":"2024-11-14T11:16:10.023Z","updated_at":"2026-06-06T12:31:26.832Z","avatar_url":"https://github.com/an4xdev.png","language":"Blade","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n- [TODO if I ever want to come back](#todo-if-i-ever-want-to-come-back)\n- [Project](#project)\n- [Used](#used)\n- [Requirements](#requirements)\n- [User types](#user-types)\n- [Custom data seeding](#custom-data-seeding)\n- [Start project](#start-project)\n  - [Use batch script](#use-batch-script)\n  - [Run separately](#run-separately)\n\n# Online shop project\n\n## TODO if I ever want to come back\n\n- [ ] Modals\n- [ ] Buy again button implementation\n- [ ] Controller separations and refactoring\n\n## Project\n\nProject created to learn and practise Laravel.\n\n## Used\n\n- [Laravel](https://laravel.com/) - MIT License\n- [BladewindUI](https://bladewindui.com/) - MIT License\n- [Lorem Picsum](https://picsum.photos/) - MIT License\n- [purl](https://github.com/allmarkedup/purl) - MIT License\n\n## Requirements\n\n- Laravel - 11.9\n- BladewindUI - 2.6\n- Node.js - v22.4.0\n- Python - for custom data seeding\n\n## User types\n\n| Type          | Email                        | Password |\n| ------------- | ---------------------------- | -------- |\n| Administrator | admin@example.com            | password |\n| Seller        | s[1,2,3,4,5,6]@example.com   | password |\n| User          | u[1,2,3,4,5,6]@example.com   | password |\n\nsee [DatabaseSeeder](/database/seeders/DatabaseSeeder.php).\n\n\n## Custom data seeding\n\nIn [data.py](/seed_data/data.py) is structure:\n\n```js\nproducts = [\n    {\n        \"category\": {\n            \"sub-category\": [\"name of subacategory in singular form if necessary\", \n            \"suffix like: l(liters) or kg(kilograms) or ...\",\n            (\"company\", \"company\", \"company\", ...)],\n            ...\n        }\n    },\n    ...\n]\n```\n\nproduct name is\" sub-category (```element[0]```) + company (one of ```element[2]```) + unit (```element[1]```).\n\nIn [main.py](/seed_data/main.py) you can modify constants.\n\nRun [main.py](/seed_data/main.py) and generated file ```data.sql``` move to ```/database/seeds```.\n\nRun migrations:\n\n```bash\n\u003e php artisan migrate\n```\n\nSeed database:\n\n```bash\n\u003e php artisan db:seed\n```\n\n## Start project\n\n### Use batch script\n\n#### With migrations and data seeding\n\n```bash\n\u003e run.bat -mds\n```\n\n#### Without migrations and data seeding\n\n```bash\n\u003e run.bat\n```\n\n### Run separately\n\n#### Run laravel\n\n```bash\n\u003e php artisan serve\n```\n\n#### Install js dependencies\n\n```bash\n\u003e npm install\n```\n\n#### Run node.js\n\n```bash\n\u003e npm run dev\n```\n\n#### Run migrations\n\n```bash\n\u003e php artisan migrate\n```\n\n#### Seed database\n\n```bash\n\u003e php artisan db:seed\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fan4xdev%2Fonline-shop","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fan4xdev%2Fonline-shop","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fan4xdev%2Fonline-shop/lists"}