kataras / iris-cli

[WIP] Iris Command Line Interface
https://iris-go.com
MIT License
121 stars 11 forks source link

It is recommended to add a new project that can create a restful API structure #6

Closed dafa168 closed 3 years ago

dafa168 commented 3 years ago

Is your feature request related to a problem? Please describe. 建议新增可以新建一个restful api 结构的项目

command: $ iris-cli new [--module=my_app] api  

This creates a new API project and keeps the structure simple.

dafa168 commented 3 years ago

Thank you !

kataras commented 3 years ago

Hello @dafa168, there is the iris-cli new [--module=my_app] mvc which creates this project. You need a new api template to handle the structure of raw iris.Handlers too. Stay tuned, I am on it!

dafa168 commented 3 years ago

Okay thank you