Ecosyste.ms: Awesome

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

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: 3 months ago
JSON representation

⛵ An opinionated lightweight framework to build web api or applications. On top of Fiber.

Lists

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.