Skip to content

goravel/example

Repository files navigation

English | 中文

About Goravel

Goravel is a web application framework with complete functions and good scalability. As a starting scaffolding to help Gopher quickly build their own applications.

The framework style is consistent with Laravel, let Phper don't need to learn a new framework, but also happy to play around Golang! Tribute Laravel!

Welcome to star, PR and issues!

Getting Started

Start Service

go run . or air

DB

app/http/controllers/db_controller.go

Websocket

app/http/controllers/websocket_controller.go

Validation

app/http/controllers/validation_controller.go

JWT Middleware

app/http/controllers/jwt_controller.go

Testing With Mock

app/services/user_test.go

Testing With Configuration

tests/services/user_test.go

GRPC

app/grpc/controllers/user_controller.go

Swagger

app/http/controllers/swagger_controller.go

Integration of single page application into the framework

routes/web.go

View nesting

routes/web.go

Documentation

Online documentation https://www.goravel.dev

To optimize the documentation, please submit a PR to the documentation repository https://github.com/goravel/docs

Group

Welcome more discussion in Telegram.

https://t.me/goravel

License

The Goravel framework is open-sourced software licensed under the MIT license.