angular-yii2

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

  • Owner: githubjeka/angular-yii2
  • Platform:
  • License::
  • Category::
  • Topic:
  • Like:
    0
      Compare:

Github stars Tracking Chart

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

Main metrics

Overview
Name With Ownergithubjeka/angular-yii2
Primary Language
Program language (Language Count: 0)
Platform
License:
所有者活动
Created At2014-03-21 10:22:01
Pushed At2017-04-18 09:13:39
Last Commit At2017-04-18 12:13:38
Release Count0
用户参与
Stargazers Count208
Watchers Count37
Fork Count79
Commits Count90
Has Issues Enabled
Issues Count12
Issue Open Count4
Pull Requests Count1
Pull Requests Open Count0
Pull Requests Close Count1
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private