https://github.com/astaxie/beego
beego is an open-source, high-performance web framework for the Go programming language.
https://github.com/astaxie/beego
Last synced: 12 months ago
JSON representation
beego is an open-source, high-performance web framework for the Go programming language.
- Host: GitHub
- URL: https://github.com/astaxie/beego
- Owner: astaxie
- License: other
- Fork: true (beego/beego)
- Created: 2020-12-13T14:58:50.000Z (about 5 years ago)
- Default Branch: develop
- Last Pushed: 2022-04-27T07:57:04.000Z (almost 4 years ago)
- Last Synced: 2024-10-25T05:26:05.902Z (over 1 year ago)
- Homepage: beego.me
- Size: 9.13 MB
- Stars: 726
- Watchers: 17
- Forks: 180
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
- favorite-link - beego 是 Go 编程语言的开源,高性能 Web 框架。
- go-awesome - Beego - 一个使用 Go 的思维来帮助您构建并开发 Go 应用程序的开源框架 `国产` (开源类库 / Web 框架)
- go-awesome-with-star-updatetime - Beego - beego is an open-source, high-performance web framework for the Go programming language. (Web Frameworks / HTTP Clients)
- go-awesome - Beego - An open-source framework that uses Go Thinking to help you create and develop "domestic" Go applications (Open source library / Web Framework)
- my-awesome - Beego - :white_check_mark: beego is used for rapid development of RESTful APIs, web apps and backend services in Go. (Platform/Framework/SDK/Language)
- awesome-go - beego - beego is an open-source, high-performance web framework for the Go programming language. - ★ 17708 (Web Frameworks)
- awesome-go-cn - Beego
- awesome-go-info - beego - source, high-performance web framework for the Go programming language. | (Utility)
- awesome-go - Beego - source, high-performance web framework for the Go programming language. | 20,414 | 4,150 | 597 | (Web Frameworks / HTTP Clients)
- awesome-go - Beego - beego is an open-source, high-performance web framework for the Go programming language. - :arrow_down:6542 - :star:8099 (Web Frameworks / HTTP Clients)
- awesome-go - Beego - beego is an open-source, high-performance web framework for the Go programming language. (Web Frameworks / Advanced Console UIs)
- awesome-go-processed - Beego - beego is an open-source, high-performance web framework for the Go programming language.| (Web Frameworks / Advanced Console UIs)
- awesome-Char - Beego - beego is an open-source, high-performance web framework for the Go programming language. (Web Frameworks / HTTP Clients)
- fucking-awesome-go - :octocat: Beego - beego is an open-source, high-performance web framework for the Go programming language. :star: 7268 :fork_and_knife: 1811 (Web Frameworks / Advanced Console UIs)
- awesome-go-cn - Beego - source, high-performance web framework for the Go programming language.) (Web框架 / Advanced Console UIs)
- awesome-go - Beego - beego is an open-source, high-performance web framework for the Go programming language. (Web Frameworks / HTTP Clients)
- awesome-go-zh - Beego
- awesome-go - Beego - beego is an open-source, high-performance web framework for the Go programming language. (Web Frameworks / <span id="高级控制台用户界面-advanced-console-uis">高级控制台用户界面 Advanced Console UIs</span>)
README
# Beego [](https://travis-ci.org/astaxie/beego) [](http://godoc.org/github.com/astaxie/beego) [](http://golangfoundation.org) [](https://goreportcard.com/report/github.com/astaxie/beego)
Beego is used for rapid development of enterprise application in Go, including RESTful APIs, web apps and backend
services.
It is inspired by Tornado, Sinatra and Flask. beego has some Go-specific features such as interfaces and struct
embedding.

Beego is compos of four parts:
1. Base modules: including log module, config module, governor module;
2. Task: is used for running timed tasks or periodic tasks;
3. Client: including ORM module, httplib module, cache module;
4. Server: including web module. We will support gRPC in the future;
## Quick Start
[Officail website](http://beego.me)
[Example](https://github.com/beego-dev/beego-example)
> If you could not open official website, go to [beedoc](https://github.com/beego/beedoc)
### Web Application

#### Create `hello` directory, cd `hello` directory
mkdir hello
cd hello
#### Init module
go mod init
#### Download and install
go get github.com/astaxie/beego@v2.0.0
#### Create file `hello.go`
```go
package main
import "github.com/astaxie/beego/server/web"
func main() {
web.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.
## Features
* RESTful support
* [MVC architecture](https://github.com/beego/beedoc/tree/master/en-US/mvc)
* Modularity
* [Auto API documents](https://github.com/beego/beedoc/blob/master/en-US/advantage/docs.md)
* [Annotation router](https://github.com/beego/beedoc/blob/master/en-US/mvc/controller/router.md)
* [Namespace](https://github.com/beego/beedoc/blob/master/en-US/mvc/controller/router.md#namespace)
* [Powerful development tools](https://github.com/beego/bee)
* Full stack for Web & API
## Modules
* [orm](https://github.com/beego/beedoc/tree/master/en-US/mvc/model)
* [session](https://github.com/beego/beedoc/blob/master/en-US/module/session.md)
* [logs](https://github.com/beego/beedoc/blob/master/en-US/module/logs.md)
* [config](https://github.com/beego/beedoc/blob/master/en-US/module/config.md)
* [cache](https://github.com/beego/beedoc/blob/master/en-US/module/cache.md)
* [context](https://github.com/beego/beedoc/blob/master/en-US/module/context.md)
* [governor](https://github.com/beego/beedoc/blob/master/en-US/module/governor.md)
* [httplib](https://github.com/beego/beedoc/blob/master/en-US/module/httplib.md)
* [task](https://github.com/beego/beedoc/blob/master/en-US/module/task.md)
* [i18n](https://github.com/beego/beedoc/blob/master/en-US/module/i18n.md)
## 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
* [Contribution Guide](https://github.com/beego/beedoc/blob/master/en-US/intro/contributing.md).
## License
beego source code is licensed under the Apache Licence, Version 2.0
(http://www.apache.org/licenses/LICENSE-2.0.html).