Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/mgjules/api-er

A POC Go boilerplate for building REST API services.
https://github.com/mgjules/api-er

boilerplate gin golang mongodb proof-of-concept restful-api

Last synced: 25 days ago
JSON representation

A POC Go boilerplate for building REST API services.

Awesome Lists containing this project

README

        

# API-er

[![Go Doc](https://img.shields.io/badge/godoc-reference-blue.svg?style=for-the-badge)](https://godoc.org/github.com/mgjules/api-er)
[![License](https://img.shields.io/badge/Apache%202.0-green.svg?style=for-the-badge)](LICENSE)

API-er is a simple Go boilerplate for building REST API services.

At this stage, API-er is merely a Proof-of-Concept and is considered *unstable*.

You are free to fork it or take inspiration from it!

## Core libraries
- [Cobra](https://github.com/spf13/cobra)
- CLI interface
- [Viper](https://github.com/spf13/viper)
- Managing configuration
- [Zap](https://github.com/uber-go/zap)
- Logger
- [MongoDB](https://go.mongodb.org/mongo-driver)
- Database driver
- [Casbin](https://github.com/casbin/casbin)
- Authorization
- [Gin](https://github.com/gin-gonic/gin)
- Web Framework