Go to file
2021-08-09 18:23:56 +03:00
backend user card sort 2021-08-09 18:23:56 +03:00
common fix login api 2021-08-03 15:52:25 +03:00
console Merge pull request #49 from apuc/add_authentication 2021-08-02 14:46:39 +03:00
docs/api add to interview docs 2021-07-03 15:28:03 +03:00
environments add_balance 2019-06-21 18:05:58 +03:00
frontend user auth 2021-08-09 12:12:15 +03:00
vagrant add_balance 2019-06-21 18:05:58 +03:00
.bowerrc add_balance 2019-06-21 18:05:58 +03:00
.gitignore add_balance 2019-06-21 18:05:58 +03:00
.htaccess add_balance 2019-06-21 18:05:58 +03:00
codeception.yml add_balance 2019-06-21 18:05:58 +03:00
composer.json vc_text admin 2021-06-25 13:24:32 +03:00
composer.lock vc_text admin 2021-06-25 13:24:32 +03:00
init first commit 2018-10-11 11:15:09 +03:00
init.bat add_balance 2019-06-21 18:05:58 +03:00
LICENSE.md add_balance 2019-06-21 18:05:58 +03:00
log.txt fixed console user generate 2020-05-22 16:42:24 +03:00
package-lock.json closed admin panel 2020-01-29 11:26:01 +03:00
README.md docs api 2021-07-03 11:32:03 +03:00
requirements.php add_balance 2019-06-21 18:05:58 +03:00
Vagrantfile add_balance 2019-06-21 18:05:58 +03:00
yii.bat add_balance 2019-06-21 18:05:58 +03:00

Документация API

DIRECTORY STRUCTURE

common
    config/              contains shared configurations
    mail/                contains view files for e-mails
    models/              contains model classes used in both backend and frontend
    tests/               contains tests for common classes    
console
    config/              contains console configurations
    controllers/         contains console controllers (commands)
    migrations/          contains database migrations
    models/              contains console-specific model classes
    runtime/             contains files generated during runtime
backend
    assets/              contains application assets such as JavaScript and CSS
    config/              contains backend configurations
    controllers/         contains Web controller classes
    models/              contains backend-specific model classes
    runtime/             contains files generated during runtime
    tests/               contains tests for backend application    
    views/               contains view files for the Web application
    web/                 contains the entry script and Web resources
frontend
    assets/              contains application assets such as JavaScript and CSS
    config/              contains frontend configurations
    controllers/         contains Web controller classes
    models/              contains frontend-specific model classes
    runtime/             contains files generated during runtime
    tests/               contains tests for frontend application
    views/               contains view files for the Web application
    web/                 contains the entry script and Web resources
    widgets/             contains frontend widgets
vendor/                  contains dependent 3rd-party packages
environments/            contains environment-based overrides

Для ролей поднять миграцию
php yii migrate --migrationPath=@yii/rbac/migrations
и выполнить консольный скрипт
php yii rbac/init