The Project Aims to Devlop Creation of REST API with MYSQL DB Integration. The project includes MYSQL DB integration. The Binary File in the Project Genrates the Request ,Response ,Error & CRUD Handlers.
For Getting Started You Need to have Go 1.10+. Install or update the following Packages
- gorm - The fantastic ORM library for Golang, aims to be developer friendly.
- go-chi - easily manage HTTP request / response payloads of Go HTTP services
Here we using Go-Chi-Framework :
chi is a lightweight, idiomatic and composable router for building Go HTTP services. It's especially good at helping you write large REST API services that are kept maintainable as your project grows and changes. chi is built on the new context package introduced in Go 1.7 to handle signaling, cancelation and request-scoped values across a handler chain.
The focus of the project has been to seek out an elegant and comfortable design for writing REST API servers, written during the development of the Pressly API service that powers our public API service, which in turn powers all of our client-side applications.
The key considerations of chi's design are: project structure, maintainability, standard http handlers (stdlib-only), developer productivity, and deconstructing a large system into many small parts. The core router github.com/go-chi/chi is quite small (less than 1000 LOC), but we've also included some useful/optional subpackages: middleware, render and docgen. We hope you enjoy it too!
- Shrikar Vaitala https://github.com/shrikar007
This project is licensed under the MIT License - see the LICENSE.md file for details
- gorm
- go-chi