├── .gitignore ├── .travis.yml ├── LICENSE.md ├── README.md ├── backend ├── assets │ └── AppAsset.php ├── config │ ├── .gitignore │ ├── bootstrap.php │ ├── main.php │ └── params.php ├── controllers │ └── SiteController.php ├── models │ └── .gitkeep ├── runtime │ └── .gitignore ├── views │ ├── layouts │ │ └── main.php │ └── site │ │ ├── error.php │ │ ├── index.php │ │ └── login.php └── web │ ├── .gitignore │ ├── assets │ └── .gitignore │ ├── css │ └── site.css │ ├── favicon.ico │ └── robots.txt ├── common ├── config │ ├── .gitignore │ ├── bootstrap.php │ ├── main.php │ └── params.php └── models │ ├── Comment.php │ ├── ContactForm.php │ ├── LoginForm.php │ ├── Lookup.php │ ├── Post.php │ ├── Tag.php │ └── User.php ├── composer.json ├── composer.lock ├── console ├── config │ ├── .gitignore │ ├── bootstrap.php │ ├── main.php │ └── params.php ├── controllers │ └── .gitkeep ├── migrations │ ├── m140724_112641_init.php │ ├── m140731_074148_post.php │ └── m140922_121411_comments.php ├── models │ └── .gitkeep └── runtime │ └── .gitignore ├── environments ├── dev │ ├── backend │ │ ├── config │ │ │ ├── main-local.php │ │ │ └── params-local.php │ │ └── web │ │ │ ├── index-test.php │ │ │ └── index.php │ ├── common │ │ └── config │ │ │ ├── main-local.php │ │ │ └── params-local.php │ ├── console │ │ └── config │ │ │ ├── main-local.php │ │ │ └── params-local.php │ ├── rest │ │ ├── config │ │ │ ├── main-local.php │ │ │ └── params-local.php │ │ └── web │ │ │ ├── index-test.php │ │ │ └── index.php │ └── yii └── index.php ├── init ├── init.bat ├── requirements.php ├── rest ├── config │ ├── .gitignore │ ├── bootstrap.php │ ├── main.php │ └── params.php ├── runtime │ └── .gitignore ├── versions │ ├── v1 │ │ ├── RestModule.php │ │ └── controllers │ │ │ ├── CommentController.php │ │ │ ├── PostController.php │ │ │ └── UserController.php │ └── v2 │ │ ├── RestModule.php │ │ └── controllers │ │ ├── CommentController.php │ │ ├── PostController.php │ │ └── UserController.php ├── views │ ├── layouts │ │ └── main.php │ └── site │ │ └── error.php └── web │ ├── .gitignore │ └── robots.txt ├── server.md ├── tests ├── README.md ├── codeception.yml └── codeception │ ├── _output │ └── .gitignore │ ├── bin │ ├── _bootstrap.php │ ├── yii │ └── yii.bat │ ├── common │ ├── .gitignore │ ├── _bootstrap.php │ ├── _output │ │ └── .gitignore │ ├── _pages │ │ └── LoginPage.php │ ├── _support │ │ └── FixtureHelper.php │ ├── codeception.yml │ ├── fixtures │ │ ├── PostFixture.php │ │ ├── UserFixture.php │ │ └── data │ │ │ └── init_login.php │ ├── templates │ │ └── fixtures │ │ │ └── user.php │ ├── unit.suite.yml │ └── unit │ │ ├── DbTestCase.php │ │ ├── TestCase.php │ │ ├── _bootstrap.php │ │ ├── fixtures │ │ └── data │ │ │ └── models │ │ │ └── user.php │ │ └── models │ │ └── LoginFormTest.php │ ├── config │ ├── acceptance.php │ ├── common │ │ └── unit.php │ ├── config.php │ ├── console │ │ └── unit.php │ ├── functional.php │ ├── rest │ │ ├── acceptance.php │ │ ├── config.php │ │ ├── functional.php │ │ └── unit.php │ └── unit.php │ ├── console │ ├── .gitignore │ ├── _bootstrap.php │ ├── _output │ │ └── .gitignore │ ├── codeception.yml │ ├── unit.suite.yml │ └── unit │ │ ├── DbTestCase.php │ │ ├── TestCase.php │ │ ├── _bootstrap.php │ │ └── fixtures │ │ └── data │ │ └── .gitkeep │ └── rest │ ├── .gitignore │ ├── _bootstrap.php │ ├── _output │ └── .gitignore │ ├── acceptance.suite.yml │ ├── acceptance │ └── _bootstrap.php │ ├── codeception.yml │ ├── functional.suite.yml │ ├── functional │ ├── PostAPICept.php │ ├── UserApiCept.php │ └── _bootstrap.php │ ├── unit.suite.yml │ └── unit │ ├── DbTestCase.php │ ├── TestCase.php │ ├── _bootstrap.php │ └── fixtures │ └── data │ └── .gitkeep └── yii.bat /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/githubjeka/yii2-rest/HEAD/.gitignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/githubjeka/yii2-rest/HEAD/.travis.yml -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/githubjeka/yii2-rest/HEAD/LICENSE.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/githubjeka/yii2-rest/HEAD/README.md -------------------------------------------------------------------------------- /backend/assets/AppAsset.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/githubjeka/yii2-rest/HEAD/backend/assets/AppAsset.php -------------------------------------------------------------------------------- /backend/config/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/githubjeka/yii2-rest/HEAD/backend/config/.gitignore -------------------------------------------------------------------------------- /backend/config/bootstrap.php: -------------------------------------------------------------------------------- 1 |