Skip to content

Commit a557f1f

Browse files
committed
2 parents cbcd126 + 2133d8c commit a557f1f

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

README.md

+10-10
Original file line numberDiff line numberDiff line change
@@ -13,28 +13,26 @@ $ cd client-angular
1313
$ bower update
1414
```
1515

16+
See more info https://github.com/AngularYii2/angularyii2.github.io
17+
1618
###Init server:###
19+
1720
[![Build Status](https://travis-ci.org/githubjeka/yii2-rest.svg)](https://travis-ci.org/githubjeka/yii2-rest)
21+
1822
```
1923
$ cd rest
2024
$ composer install --prefer-dist
2125
```
22-
Create a new database and adjust the components['db'] configuration in environments/dev/common/config/main-local.php accordingly.
23-
```
24-
$ php init
25-
$ php yii migrate
26-
```
27-
28-
See more info https://github.com/githubjeka/yii2-rest/blob/master/README.md
2926

27+
For more information by init rest server please see description of [yii2-rest repository](https://github.com/githubjeka/yii2-rest)
3028

3129
## Test app yii2 rest Api and angular client side
3230

3331
Demo Client - [http://angularyii2.github.io/](http://angularyii2.github.io/)
3432

3533
Demo Server - [https://yii2-rest-githubjeka.c9.io/rest/web/](https://yii2-rest-githubjeka.c9.io/rest/web/)
3634

37-
Not Found (#404) is OK, because
35+
Not Found (#404) is OK, because rules is
3836
```php
3937
[
4038
'urlManager' => [
@@ -43,12 +41,14 @@ Not Found (#404) is OK, because
4341
'showScriptName' => false,
4442
'rules' => [
4543
['class' => 'yii\rest\UrlRule', 'controller' => ['v1/post', 'v1/comment', 'v2/post']],
46-
'OPTIONS v1/user/login' => 'v1/user/login',
47-
'POST v1/user/login' => 'v1/user/login',
44+
'v1/user/login' => 'v1/user/login',
4845
'POST v2/user/login' => 'v2/user/login',
4946
'OPTIONS v2/user/login' => 'v2/user/login',
5047
],
5148
],
5249
]
5350
```
51+
52+
### Additional sources of knowledge
5453

54+
- [:link: How To Create Single Page Application in minutes! with AngularJs 1.3 and Yii 2.0 ](https://github.com/hscstudio/angular1-yii2)

rest

Submodule rest updated 43 files

0 commit comments

Comments
 (0)