API with basic template


I googled a lot to find a way to make a simple site with basic template and API, that has front-end and API. with the advanced template is simple, but how with basic one, is it supported ??

is there any valid tutorial for this?


Yes: https://www.yiiframework.com/doc/guide/2.0/en/rest-quick-start

Thanks, I will check ;)