angular-yii2

Just example of application on AngularJS with server-side Yii2 Rest API.

  • 所有者: githubjeka/angular-yii2
  • 平台:
  • 许可证:
  • 分类:
  • 主题:
  • 喜欢:
    0
      比较:

Github星跟踪图

GET STARTED

$ git clone https://github.com/githubjeka/angular-yii2.git
$ cd angular-yii2
$ git submodule init
$ git submodule update

Init client

$ cd client-angular
$ bower update

See more info https://github.com/AngularYii2/angularyii2.github.io

Init server:

Build Status

$ cd rest
$ composer install --prefer-dist

For more information by init rest server please see description of yii2-rest repository

Test app yii2 rest Api and angular client side

Demo Client - http://angularyii2.github.io/

Demo Server - https://yii2-rest-githubjeka.c9.io/rest/web/

Not Found (#404) is OK, because rules is

[
'urlManager' => [
            'enablePrettyUrl' => true,
            'enableStrictParsing' => true,
            'showScriptName' => false,
            'rules' => [
                ['class' => 'yii\rest\UrlRule', 'controller' => ['v1/post', 'v1/comment', 'v2/post']],
                'v1/user/login' => 'v1/user/login',
                'POST v2/user/login' => 'v2/user/login',
                'OPTIONS v2/user/login' => 'v2/user/login',
            ],
        ],
 ]

Additional sources of knowledge

主要指标

概览
名称与所有者githubjeka/angular-yii2
主编程语言
编程语言 (语言数: 0)
平台
许可证
所有者活动
创建于2014-03-21 10:22:01
推送于2017-04-18 09:13:39
最后一次提交2017-04-18 12:13:38
发布数0
用户参与
星数208
关注者数37
派生数79
提交数90
已启用问题?
问题数12
打开的问题数4
拉请求数1
打开的拉请求数0
关闭的拉请求数1
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?