Vinod C
Vinod C

Reputation: 246

Can we use Yii2 for Web application and Webservice(Rest) together

I'm new to Yii2. I need to know how can we use both website part and its web-service(rest) in single application.

Please help me to elaborate with file and folder structure.

Upvotes: 0

Views: 3209

Answers (1)

Fory
Fory

Reputation: 403

Yes you can ;)

Have a look at this blog post, which describes a full working rest api based upon the advanced app, which comes with yii2:

http://budiirawan.com/setup-restful-api-yii2/

Source: https://github.com/deerawan/yii2-advanced-api

Upvotes: 1

Related Questions