Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sujit-baniya/goravel


https://github.com/sujit-baniya/goravel

Last synced: about 2 months ago
JSON representation

Awesome Lists containing this project

README

        

Forked https://github.com/goravel/framework
With support to switch between [Gin](https://gin-gonic.com/), [Chi](https://github.com/sujit-baniya/chi) and [GoFiber](https://gofiber.io/) along with following features supported.

## Additional Features
- Switable Routers (Currently Chi, Go-Gonic and Gofiber)
- Support for template engine for views (Currently `html/template` supported)
- Support for static files
- Change in API for context, request and response to support various routers in future.
- Introduction of routes for Web and API including inline middlewares for routes.

## Switch between Chi, Gin or GoFiber
In `config/app.go`, in ServiceProvider list change `route.ServiceProvider` accordingly as

```go
"providers": []contracts.ServiceProvider{
...
/*&route.ServiceProvider{Engine: fiberRoute.New(fiber.Config{
Views: view.New("resources/views", ".html"),
})},*/
/*&route.ServiceProvider{Engine: ginRoute.New(ginRoute.Config{
View: view.New("resources/views", ".html"),
})},*/
&route.ServiceProvider{Engine: route.NewChi(http.ChiConfig{
View: view.New("resources/views", ".html"),
})},
// &route.ServiceProvider{}, // Default Chi (standard net/http) is used: https://github.com/sujit-baniya/chi
...
},
```

## About Goravel

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

> IMPORTANT:Goravel v1 has been greatly upgraded and refactored, not compatible with v0, the v0 version is no longer
> updated and maintained, but its documentation can be found on [v0](https://github.com/goravel/docs/tree/master/v0)
> .

## Main Function

- [x] Config
- [x] Http
- [x] Orm
- [x] Migrate
- [x] Logger
- [x] Cache
- [x] Grpc
- [x] Artisan Console
- [x] Task Scheduling
- [x] Queue
- [x] Event
- [x] Mail
- [x] Mock

## Roadmap

- [ ] Optimize experience of microservice
- [ ] Orm relationships
- [ ] Request validator
- [ ] Jwt

## Documentation

Online documentation [https://www.goravel.dev](https://www.goravel.dev)

> To optimize the documentation, please submit a PR to the documentation
> repository [https://github.com/goravel/docs](https://github.com/goravel/docs)

## Group

Welcome more exchanges in Discord.

[https://discord.gg/cFc5csczzS](https://discord.gg/cFc5csczzS)

## Tribute Laravel

Goravel and Laravel remain highly consistent, let PHPer play Golang happily without learning a new framework!

## License

The Goravel framework is open-sourced software licensed under the [MIT license](https://opensource.org/licenses/MIT).