Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mukezhz/meta_gin
The meta framework of golang gin.
https://github.com/mukezhz/meta_gin
backend crud gin gin-framework gin-gonic go golang gorm
Last synced: about 2 months ago
JSON representation
The meta framework of golang gin.
- Host: GitHub
- URL: https://github.com/mukezhz/meta_gin
- Owner: mukezhz
- License: mit
- Created: 2024-04-12T18:08:54.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-04-15T03:00:49.000Z (9 months ago)
- Last Synced: 2024-05-17T00:32:36.422Z (8 months ago)
- Topics: backend, crud, gin, gin-framework, gin-gonic, go, golang, gorm
- Language: Go
- Homepage:
- Size: 71.3 KB
- Stars: 11
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# meta_gin: A Meta Framework for Gin
**WARNING:**
- This project is currently in the alpha stage. **Do not use in production environments.**
- The structure of the project is subject to change until it reaches version 1.0.0.## Motivation
As a software engineer who values efficiency, I found myself repeatedly writing similar code for different projects. This inspired the creation of `meta_gin`, a framework designed to simplify and streamline web development with Gin and Gorm.
## Design Principles
`meta_gin` is crafted with the following considerations to empower developers:
- **Flexibility in Structure**: Developers have full control over their project structure.
- **Mandatory Tools**: Utilizes [Gin](https://github.com/gin-gonic/gin) and [Gorm](https://gorm.io) for routing and ORM functionality.
- **CRUD Operations Simplified**: Write less CRUD code, focus more on unique business logic.
- **Configuration Simplicity**: Minimize setup and configuration code to reduce bugs and development time.
- **Efficiency**: Less code means fewer bugs.## Features
Efficient CRUD operations with minimal code:
![CRUD Example](https://github.com/mukezhz/meta_gin/assets/43813670/681dcb65-1dea-47c8-b01f-87e26d67cf7e)
For usage examples, please check the `examples` directory in the repository.
## Installation
- Initiate a go project:
```
go mod init
````
- Add a meta_gin as dependency:
```
go get github.com/mukezhz/meta_gin
```[example](https://github.com/mukezhz/meta_gin/tree/main/example)
## Roadmap
- [x] Support for custom middleware integration.
- [ ] Extension points for custom CRUD logic.
- [ ] Streamline the framework structure for enhanced clarity and reduced bloat.
- [ ] Development of a demo project using `meta_gin`.## Contributing
As I continue to learn more about Go and the Gin framework, I welcome your feedback and contributions:
- Please start by opening an [issue](https://github.com/mukezhz/meta_gin/issues/new) to discuss potential changes before submitting a pull request.**Let's code something amazing together! Happy coding! 🙇**