kataras / iris

The fastest HTTP/2 Go Web Framework. New, modern and easy to learn. Fast development with Code you control. Unbeatable cost-performance ratio :rocket:
https://www.iris-go.com
BSD 3-Clause "New" or "Revised" License
25.26k stars 2.47k forks source link

[FEATURE REQUEST] will cli tools be released #1619

Closed ghost closed 4 years ago

ghost commented 4 years ago

A very good framework, I like it very much; but every time I create a project, I have to plan it myself. Hope to release cli tool to create api or web mvc directory structure, similar to bee cli tool

kataras commented 4 years ago

Bet @lihaotian0607. Check out the: https://github.com/kataras/iris-cli 😇

It has project templates too. Will push one with MVC structure too. Features Frontend (npm) and backend(go) live reload through automatic websocket too 💪Try it and share your feedback with us!!

ghost commented 4 years ago

Bet @lihaotian0607. Check out the: https://github.com/kataras/iris-cli 😇

It has project templates too. Will push one with MVC structure too. Features Frondend (npm) and backend(go) live reload through automatic websocket too 💪Try it and share your feedback with us!!

ok, thank you very much for your answer ☕️

kataras commented 4 years ago

You are welcome @lihaotian0607 don't hesitate to ask for more features. Here we always take care of users requests and bug reports.

ghost commented 4 years ago

欢迎您@ lihaotian0607不要犹豫,要求更多功能。在这里,我们始终会处理用户的请求和错误报告。

We are using websocket to make games. actor model is very useful; but the iris framework is used to develop the web, so I didn't mention it; It's great if it can be used

kataras commented 4 years ago

@lihaotian0607 of course you can use websocket with Iris. You can keep your own implementation or use the Iris' one. See https://github.com/kataras/iris/tree/master/_examples/websocket and https://github.com/kataras/neffos/wiki

kataras commented 4 years ago

@lihaotian0607 The MVC template is pushed to the CLI:

go get -u github.com/kataras/iris-cli
mkdir myapp
iris-cli new--module=myapp mvc
iris-cli run .