{"id":21560868,"url":"https://github.com/mmirzaee/pizza-backend","last_synced_at":"2026-04-19T15:05:18.829Z","repository":{"id":213232146,"uuid":"277536081","full_name":"mmirzaee/pizza-backend","owner":"mmirzaee","description":"Simple Pizza Delivery Application Rest API 🍕","archived":false,"fork":false,"pushed_at":"2020-07-19T14:38:54.000Z","size":110,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-14T16:10:02.839Z","etag":null,"topics":["food","online-shop","php","pizza","pizza-delivery","pizza-order","rest-api","restful-api","shop","yii2","yii2-jwt"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mmirzaee.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,"governance":null,"roadmap":null,"authors":null}},"created_at":"2020-07-06T12:29:58.000Z","updated_at":"2023-10-30T13:52:31.000Z","dependencies_parsed_at":"2023-12-19T11:09:48.053Z","dependency_job_id":null,"html_url":"https://github.com/mmirzaee/pizza-backend","commit_stats":null,"previous_names":["mmirzaee/pizza-backend"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mmirzaee/pizza-backend","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mmirzaee%2Fpizza-backend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mmirzaee%2Fpizza-backend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mmirzaee%2Fpizza-backend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mmirzaee%2Fpizza-backend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mmirzaee","download_url":"https://codeload.github.com/mmirzaee/pizza-backend/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mmirzaee%2Fpizza-backend/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279019555,"owners_count":26086749,"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","status":"online","status_checked_at":"2025-10-14T02:00:06.444Z","response_time":60,"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":["food","online-shop","php","pizza","pizza-delivery","pizza-order","rest-api","restful-api","shop","yii2","yii2-jwt"],"created_at":"2024-11-24T09:17:41.012Z","updated_at":"2025-10-14T16:10:03.247Z","avatar_url":"https://github.com/mmirzaee.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n        \u003cimg src=\"pizza.png\" width=\"250\" alt=\"Pizza Delivery App Backend\" /\u003e\n\u003c/p\u003e\n\n\n## Pizza Delivery App Restful API\n\n[![Twitter](https://img.shields.io/twitter/follow/alimmirzaee.svg?style=social\u0026label=Follow)](https://twitter.com/intent/follow?screen_name=alimmirzaee)\n\n## Installation\n\n1. clone the project\n2. run composer install\n3. Once the project creation procedure completed, edit db config and run the `./yii migrate` command to create the required tables.\n4. Edit `config/params.php` and set your own JWT Key and etc. \n5. run `./yii rbac/init` for initializing roles and permissions. This will also create the initial user with username: `root` and password: `123456` (You can change these in RbacController.php)\n6. enjoy your coffee ☕\n\n## API Documentation\n\n- \u003ca href=\"https://documenter.getpostman.com/view/1900475/T17M767u?version=latest\"\u003eRestful API Documentation\u003c/a\u003e\n\n## Configuration\n\nYou can find all the boilerplate specific settings in the `config/params.php` config file.\n\n```php\n\u003c?php\n\nreturn [\n    'adminEmail' =\u003e 'admin@example.com',\n    'TokenEncryptionKey' =\u003e '234234rdfedcecrfcf',\n    'TokenID' =\u003e 'Ssdfkm0c42c2r24crr2',\n    'JwtIssuer' =\u003e 'ChangeThisToIssuer',\n    'JwtAudience' =\u003e 'ChangeThisToAudience',\n    'JwtExpire' =\u003e 3600,\n    'DefaultSignupRole' =\u003e 'member',\n];\n\n```\n\n### Database\n\nEdit the file `config/db.php` with real data, for example:\n\n```php\nreturn [\n    'class' =\u003e 'yii\\db\\Connection',\n    'dsn' =\u003e 'mysql:host=localhost;dbname=pizza',\n    'username' =\u003e 'root',\n    'password' =\u003e '1234',\n    'charset' =\u003e 'utf8',\n];\n```\n\n**NOTES:**\n- Yii won't create the database for you, this has to be done manually before you can access it.\n- Check and edit the other files in the `config/` directory to customize your application as required.\n- Refer to the README in the `tests` directory for information specific to basic application tests.\n\n\nTESTING\n-------\n\nTests are located in `tests` directory. They are developed with [Codeception PHP Testing Framework](http://codeception.com/).\nBy default there are 3 test suites:\n\n- `unit`\n- `functional`\n- `acceptance`\n\nTests can be executed by running\n\n```\nvendor/bin/codecept run\n```\n\nThe command above will execute unit and functional tests. Unit tests are testing the system components, while functional\ntests are for testing user interaction. Acceptance tests are disabled by default as they require additional setup since\nthey perform testing in real browser. \n\n\n### Code coverage support\n\nBy default, code coverage is disabled in `codeception.yml` configuration file, you should uncomment needed rows to be able\nto collect code coverage. You can run your tests and collect coverage with the following command:\n\n```\n#collect coverage for all tests\nvendor/bin/codecept run -- --coverage-html --coverage-xml\n\n#collect coverage only for unit tests\nvendor/bin/codecept run unit -- --coverage-html --coverage-xml\n\n#collect coverage for unit and functional tests\nvendor/bin/codecept run functional,unit -- --coverage-html --coverage-xml\n```\n\nYou can see code coverage output under the `tests/_output` directory.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmmirzaee%2Fpizza-backend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmmirzaee%2Fpizza-backend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmmirzaee%2Fpizza-backend/lists"}