https://github.com/go-dawn/dawn
āµ An opinionated lightweight framework to build web api or applications. On top of Fiber.
https://github.com/go-dawn/dawn
api applications framework go-dawn gofiber golang lightweight web
Last synced: 5 months ago
JSON representation
āµ An opinionated lightweight framework to build web api or applications. On top of Fiber.
- Host: GitHub
- URL: https://github.com/go-dawn/dawn
- Owner: go-dawn
- License: mit
- Created: 2020-10-28T05:22:32.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2023-03-27T04:00:06.000Z (about 2 years ago)
- Last Synced: 2024-08-04T01:07:02.192Z (8 months ago)
- Topics: api, applications, framework, go-dawn, gofiber, golang, lightweight, web
- Language: Go
- Homepage:
- Size: 283 KB
- Stars: 16
- Watchers: 2
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Contributing: .github/CONTRIBUTING.md
- License: LICENSE
- Code of conduct: .github/CODE_OF_CONDUCT.md
Awesome Lists containing this project
- awesome-fiber - go-dawn/dawn - Dawn is an opinionated web framework that provides rapid development capabilities which on top of Fiber. (š ļø Tools / š± Third Party)
README
# Dawn
`Dawn` is an opinionated `web` framework that provides rapid development capabilities which on top of [fiber](https://github.com/gofiber/fiber). It provides basic services such as configuration, logging, `fiber` extension, `gorm` extension, and event system.
The core idea of āāDawn is modularity. High-level business modules can invoke low-level modules, such as databases, cache and so on. Following the idea of āā`DDD`, each module corresponds to a domain and can be easily converted into microservices.
Each module needs to implement its own two core methods of `Init` and `Boot`, and then register it in `Sloop`. General business modules need to implement its `RegisterRoutes` method to register routes and provide `http` services.
The modules should be based on the principle of not recreating the wheel, and directly provides the original structure and method of the dependent library.
The libraries currently used are
- [klog](https://github.com/kubernetes/klog)
- [viper](https://github.com/spf13/viper)
- [godotenv](https://github.com/joho/godotenv)
- [fiber](https://github.com/gofiber/fiber)
- [gorm](https://github.com/go-gorm/gorm)
- [go-redis](https://github.com/go-redis/redis)
- [validator](https://github.com/go-playground/validator)# Notice
**This project is still under development, please do not use it in a production environment.**# Why dawn?
Tribute to the first episode of one piece romance dawn. Let us set sail towards romance with the sloop.