Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alfarih31/nb-go-http
Noob (nb-go-http) is a REST API framework for faster development by providing several common functions
https://github.com/alfarih31/nb-go-http
gin go golang restful-api
Last synced: about 1 month ago
JSON representation
Noob (nb-go-http) is a REST API framework for faster development by providing several common functions
- Host: GitHub
- URL: https://github.com/alfarih31/nb-go-http
- Owner: alfarih31
- License: mit
- Created: 2021-11-03T22:36:51.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2022-11-10T04:30:53.000Z (about 2 years ago)
- Last Synced: 2024-10-01T01:02:06.888Z (about 2 months ago)
- Topics: gin, go, golang, restful-api
- Language: Go
- Homepage:
- Size: 119 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Noob
[![Code Smells](https://sonarcloud.io/api/project_badges/measure?project=alfarih31_nb-go-http&metric=code_smells)](https://sonarcloud.io/summary/new_code?id=alfarih31_nb-go-http)
[![Go Reference](https://pkg.go.dev/badge/github.com/alfarih31/nb-go-http.svg)](https://pkg.go.dev/github.com/alfarih31/nb-go-http)
![GitHub go.mod Go version (subdirectory of monorepo)](https://img.shields.io/github/go-mod/go-version/alfarih31/nb-go-http?style=flat-square)
![GitHub release (latest by date)](https://img.shields.io/github/v/release/alfarih31/nb-go-http?style=flat-square)Noob is a REST API framework for faster development by providing several common functions, such as:
- Query Parsing
- Logging
- Try-Catch-Finally block
- Env loader
- Response Templating**Currently, Noob based on [Gin v1.7.4](https://github.com/gin-gonic/gin). Thanks to [*gin-gonic*](https://github.com/gin-gonic/gin)**
## Contents
- [NOOB](#noob)
- [TODO](#todo)## TODO
- [ ] Write unit test## Installation
To install this package, you need to install Go (**version 1.17+ is required**) & initiate your Go workspace first.
1. After you initiate your workspace then you can install this package with below command.
```shell
go get -u github.com/alfarih31/nb-go-http
```2. Import it in your code
```go
import "github.com/alfarih31/nb-go-http"
```## Quick Start & Usage
See the example: [sample_app](examples/sample_app.go)
## Contributors ##
- Alfarih Faza
## License
This project is licensed under the - see the [LICENSE.md](LICENSE.md) file for details