{"id":14966473,"url":"https://github.com/jcsnp/electronicshop","last_synced_at":"2025-10-01T02:31:16.011Z","repository":{"id":59325065,"uuid":"536535428","full_name":"JcsnP/ElectronicShop","owner":"JcsnP","description":"final mongodb assignement. fork from my friend.","archived":false,"fork":true,"pushed_at":"2022-12-13T18:06:25.000Z","size":34279,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2024-09-22T22:01:51.417Z","etag":null,"topics":["e-c","mongo","php","yii"],"latest_commit_sha":null,"homepage":"","language":"CSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"JuneAekkalak/ElectronicShop","license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/JcsnP.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-09-14T10:56:31.000Z","updated_at":"2022-11-11T08:40:34.000Z","dependencies_parsed_at":"2023-01-28T13:47:01.778Z","dependency_job_id":null,"html_url":"https://github.com/JcsnP/ElectronicShop","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JcsnP%2FElectronicShop","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JcsnP%2FElectronicShop/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JcsnP%2FElectronicShop/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JcsnP%2FElectronicShop/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JcsnP","download_url":"https://codeload.github.com/JcsnP/ElectronicShop/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":219867836,"owners_count":16554368,"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":["e-c","mongo","php","yii"],"created_at":"2024-09-24T13:36:26.328Z","updated_at":"2025-10-01T02:31:09.504Z","avatar_url":"https://github.com/JcsnP.png","language":"CSS","readme":"# ใน common-\u003e models -\u003e User ให้เปลี่ยน function CollectionName() ตามนี้\n    'public static function CollectionName()\n    {\n        return ['ElectronicShop','users'];\n    }'\n# ใน common-\u003econfig-\u003emain-local \u003cbr\u003e ใช้ connection mongodb ตามนี้\n    'mongodb' =\u003e [\n            'class' =\u003e '\\yii\\mongodb\\Connection',\n            'dsn' =\u003e 'mongodb+srv://root:*****@db01.uyg1g.mongodb.net/test',\n            'defaultDatabaseName'=\u003e'ElectronicShop'\n    ]\n# โดยให้ create database in mongocompass ก่อน ตั้งชื่อว่า ElectronicShop\u003cp/\u003e\n\n\u003ch2\u003e\n    \u003cp\u003e\n        หากไม่สามารถเปิดหน้าได้ โดยมันแจ้ง error เรื่อง vendor ให้ทำการติดตั้ง composer\n    \u003c/p\u003e\n    \u003cp\u003e\n        \u003ca href=\"https://l.messenger.com/l.php?u=https%3A%2F%2Fwww.hostinger.com%2Ftutorials%2Fhow-to-install-composer\u0026h=AT0rkU2-uep1u58ROZZjOnmXiCRFYmJXf_FLF0ZksjOAImRTzCPGDNrY3QM3X4lPWZpnm7e0j8ZBVuQzCnWwmUJxgwm1dejGpCJVRBbktwxC3g8eI6jdP1H2_1YNEL26PgPrBQ\"\u003eการติดตั้ง composer\u003c/a\u003e\n        \u003cbr\u003e และใช้คำสั่ง \u003ccode\u003ecomposer install\u003c/code\u003e ในโฟลเดอร์ของ ElectronicShop\n    \u003c/p\u003e\n    \u003cp\u003eหากมีปัญหากรุณาเปิด issue\u003c/p\u003e\n\u003c/h2\u003e\n\n\u003cp\u003e\n    \u003ch3\u003eลิ้งของ Template\u003c/h3\u003e\n    \u003ca href=\"https://themewagon.com/themes/free-bootstrap-4-html5-ecommerce-website-template-aranoz/\"\u003eFrontend Template\u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://github.com/yiisoft\" target=\"_blank\"\u003e\n        \u003cimg src=\"https://avatars0.githubusercontent.com/u/993323\" height=\"100px\"\u003e\n    \u003c/a\u003e\n    \u003ch1 align=\"center\"\u003eYii 2 Advanced Project Template\u003c/h1\u003e\n    \u003cbr\u003e\n\u003c/p\u003e\n\nYii 2 Advanced Project Template is a skeleton [Yii 2](http://www.yiiframework.com/) application best for\ndeveloping complex Web applications with multiple tiers.\n\nThe template includes three tiers: front end, back end, and console, each of which\nis a separate Yii application.\n\nThe template is designed to work in a team development environment. It supports\ndeploying the application in different environments.\n\nDocumentation is at [docs/guide/README.md](docs/guide/README.md).\n\n[![Latest Stable Version](https://img.shields.io/packagist/v/yiisoft/yii2-app-advanced.svg)](https://packagist.org/packages/yiisoft/yii2-app-advanced)\n[![Total Downloads](https://img.shields.io/packagist/dt/yiisoft/yii2-app-advanced.svg)](https://packagist.org/packages/yiisoft/yii2-app-advanced)\n[![build](https://github.com/yiisoft/yii2-app-advanced/workflows/build/badge.svg)](https://github.com/yiisoft/yii2-app-advanced/actions?query=workflow%3Abuild)\n\nDIRECTORY STRUCTURE\n-------------------\n\n```\ncommon\n    config/              contains shared configurations\n    mail/                contains view files for e-mails\n    models/              contains model classes used in both backend and frontend\n    tests/               contains tests for common classes    \nconsole\n    config/              contains console configurations\n    controllers/         contains console controllers (commands)\n    migrations/          contains database migrations\n    models/              contains console-specific model classes\n    runtime/             contains files generated during runtime\nbackend\n    assets/              contains application assets such as JavaScript and CSS\n    config/              contains backend configurations\n    controllers/         contains Web controller classes\n    models/              contains backend-specific model classes\n    runtime/             contains files generated during runtime\n    tests/               contains tests for backend application    \n    views/               contains view files for the Web application\n    web/                 contains the entry script and Web resources\nfrontend\n    assets/              contains application assets such as JavaScript and CSS\n    config/              contains frontend configurations\n    controllers/         contains Web controller classes\n    models/              contains frontend-specific model classes\n    runtime/             contains files generated during runtime\n    tests/               contains tests for frontend application\n    views/               contains view files for the Web application\n    web/                 contains the entry script and Web resources\n    widgets/             contains frontend widgets\nvendor/                  contains dependent 3rd-party packages\nenvironments/            contains environment-based overrides\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjcsnp%2Felectronicshop","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjcsnp%2Felectronicshop","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjcsnp%2Felectronicshop/lists"}