How best to implement yii2 -> REST API -> React js?

How best to implement yii2 -> REST API -> React js?

Most interested in how to make REST API -> React js
More or less understand how to make yii2 -> REST

Generally this can be done or need some kind of tool?
June 14th 19 at 18:15
1 answer
June 14th 19 at 18:17
No matter what api is made - all you need to know about the client's documentation here with her and start
when you write documentation you will have in fact thought out routing, and models with a "TK" at the hands of the implementation of almost spinal cord spell
I don't mind swagger but for me the documentation is akin to a test - a way to think architecture
if it is a mobile spa or take app design screens and preciada what do I need and how - xavier.Breitenberg21 commented on June 14th 19 at 18:38
And if a person makes for himself ?
Docks swagger is enough. - Austin commented on June 14th 19 at 18:20
for myself also the documentation is usually written, it's like with the tests - like change and not really necessary but without them it hurts - xavier.Breitenberg21 commented on June 14th 19 at 18:23
Honestly, I haven't seen a developer that would do the project and wrote the Doc usercase, test cases, tests, TK, etc.
To write a great Doc and TK, even for a small project, that's a lot of time and effort. - Austin commented on June 14th 19 at 18:26
I agree but if more than 2-3 of API methods you need to write Doc if through the floor, no rebate - xavier.Breitenberg21 commented on June 14th 19 at 18:29
, swagger solve the problem =)
A description of the methods is, types of this, types of requests and Responsa too.
What else is needed?) - Austin commented on June 14th 19 at 18:32
Like so
59db8391c8492688181877.png - Austin commented on June 14th 19 at 18:35

Find more questions by tags PHPReactRESTful APIYii