74 lines
		
	
	
		
			2.0 KiB
		
	
	
	
		
			Markdown
		
	
	
	
	
	
			
		
		
	
	
			74 lines
		
	
	
		
			2.0 KiB
		
	
	
	
		
			Markdown
		
	
	
	
	
	
# Beego [](https://travis-ci.org/astaxie/beego) [](http://godoc.org/github.com/beego/beego) [](http://golangfoundation.org) [](https://goreportcard.com/report/github.com/beego/beego)
 | 
						|
 | 
						|
 | 
						|
beego is used for rapid development of RESTful APIs, web apps and backend services in Go.
 | 
						|
It is inspired by Tornado, Sinatra and Flask. beego has some Go-specific features such as interfaces and struct embedding.
 | 
						|
 | 
						|
###### More info at [beego.me](http://beego.me).
 | 
						|
 | 
						|
## Quick Start
 | 
						|
 | 
						|
#### Create `hello` directory, cd `hello` directory
 | 
						|
 | 
						|
    mkdir hello
 | 
						|
    cd hello
 | 
						|
 
 | 
						|
#### Init module
 | 
						|
 | 
						|
    go mod init
 | 
						|
 | 
						|
#### Download and install
 | 
						|
 | 
						|
    go get github.com/beego/beego
 | 
						|
 | 
						|
#### Create file `hello.go`
 | 
						|
```go
 | 
						|
package main
 | 
						|
 | 
						|
import "github.com/beego/beego"
 | 
						|
 | 
						|
func main(){
 | 
						|
    beego.Run()
 | 
						|
}
 | 
						|
```
 | 
						|
#### Build and run
 | 
						|
 | 
						|
    go build hello.go
 | 
						|
    ./hello
 | 
						|
 | 
						|
#### Go to [http://localhost:8080](http://localhost:8080)
 | 
						|
 | 
						|
Congratulations! You've just built your first **beego** app.
 | 
						|
 | 
						|
###### Please see [Documentation](http://beego.me/docs) for more.
 | 
						|
 | 
						|
###### [beego-example](https://github.com/beego-dev/beego-example)
 | 
						|
 | 
						|
## Features
 | 
						|
 | 
						|
* RESTful support
 | 
						|
* MVC architecture
 | 
						|
* Modularity
 | 
						|
* Auto API documents
 | 
						|
* Annotation router
 | 
						|
* Namespace
 | 
						|
* Powerful development tools
 | 
						|
* Full stack for Web & API
 | 
						|
 | 
						|
## Documentation
 | 
						|
 | 
						|
* [English](http://beego.me/docs/intro/)
 | 
						|
* [中文文档](http://beego.me/docs/intro/)
 | 
						|
* [Русский](http://beego.me/docs/intro/)
 | 
						|
 | 
						|
## Community
 | 
						|
 | 
						|
* [http://beego.me/community](http://beego.me/community)
 | 
						|
* Welcome to join us in Slack: [https://beego.slack.com](https://beego.slack.com), you can get invited from [here](https://github.com/beego/beedoc/issues/232)
 | 
						|
* QQ Group Group ID:523992905
 | 
						|
 | 
						|
## License
 | 
						|
 | 
						|
beego source code is licensed under the Apache Licence, Version 2.0
 | 
						|
(http://www.apache.org/licenses/LICENSE-2.0.html).
 |