All Projects → restuwahyu13 → gin-rest-api

restuwahyu13 / gin-rest-api

Licence: other
Example golang using gin framework everything you need, i create this tutorial special for beginner.

Programming Languages

go
31211 projects - #10 most used programming language
HTML
75241 projects

Projects that are alternatives of or similar to gin-rest-api

gin-swagger
DRY templates for go-swagger
Stars: ✭ 79 (+41.07%)
Mutual labels:  gin, gin-gonic
httpsign
Signing HTTP Messages Middleware
Stars: ✭ 54 (-3.57%)
Mutual labels:  gin, gin-gonic
go-gin-web-server
Deploy Go Gin on Render
Stars: ✭ 23 (-58.93%)
Mutual labels:  gin, gin-gonic
requestid
Request ID middleware for Gin Framework
Stars: ✭ 115 (+105.36%)
Mutual labels:  gin, gin-gonic
ginhelper
gin framework helper
Stars: ✭ 16 (-71.43%)
Mutual labels:  gin, gin-gonic
website
Official website and document for Gin
Stars: ✭ 88 (+57.14%)
Mutual labels:  gin, gin-gonic
go-12factor-example
Example the 12factor app using golang
Stars: ✭ 20 (-64.29%)
Mutual labels:  gin, gin-gonic
go api boilerplate
🐶Go (Golang)🚀REST / GraphQL API + Postgres boilerplate
Stars: ✭ 127 (+126.79%)
Mutual labels:  gin, gin-gonic
go-gin-logrus
Gin Web Framework for using Logrus as the Gin logger with Tracing middleware
Stars: ✭ 38 (-32.14%)
Mutual labels:  gin, gin-gonic
logger
Gin middleware/handler to logger url path using rs/zerolog
Stars: ✭ 119 (+112.5%)
Mutual labels:  gin, gin-gonic
geo-smart-system
Open Source Realtime Tracking System
Stars: ✭ 36 (-35.71%)
Mutual labels:  gin, gin-gonic
pigger
A cross-platform note taking and static blog writing system in golang
Stars: ✭ 16 (-71.43%)
Mutual labels:  golang-application
zauth
2FA (Two-Factor Authentication) application for CLI terminal with support to import/export andOTP files.
Stars: ✭ 74 (+32.14%)
Mutual labels:  golang-application
GoGonicEcommerceApi
Ecommerce Rest API application built in Go with Gin Gonic + Gorm
Stars: ✭ 81 (+44.64%)
Mutual labels:  gin-gonic
kubernetes-examples
Kubernetes 经典示例
Stars: ✭ 142 (+153.57%)
Mutual labels:  gin
golang-gin-restfulAPI-example-app
An example Golang Restful API with [Gin, MongoDB, gin-jwt, gin-sessions, gin-authz, gin-swagger, validate.v9, casbin, go-ini]
Stars: ✭ 104 (+85.71%)
Mutual labels:  gin
spring-boot-data-jpa-mysql
Spring Boot Rest CRUD API example - Spring Data JPA to interact with MySQL/PostgreSQL database.
Stars: ✭ 89 (+58.93%)
Mutual labels:  crud-application
outbound-go
URL shortener and Redirection As A Service
Stars: ✭ 21 (-62.5%)
Mutual labels:  gin
nodejs-postgresql-azure
Repositório responsável pela série de artigos sobre Node.js com PostgreSQL
Stars: ✭ 70 (+25%)
Mutual labels:  crud-application
go-mux-jwt-boilerplate
Golang REST API using MUX, GORM, and JWT for authentication
Stars: ✭ 41 (-26.79%)
Mutual labels:  golang-application

Golang Gin Framework Fundamental

Example golang using gin framework everything you need, i create this tutorial special for beginner.

Feature

  • Containerize Application Using Docker
  • Protected Route Using JWT
  • Integerasi ORM Database Using Gorm
  • API Documentation Using Swagger
  • Validation Request Using Go Playground Validator
  • Integerasi Unit Testing
  • And More

Command

  • Application Lifecycle

    • Install node modules
    $ go get . || go mod || make goinstall
    • Build application
    $ go build -o main || make goprod
    • Start application in development
    $ go run main.go | make godev
    • Test application
    $ go test main.go main_test.go || make gotest
  • Docker Lifecycle

    • Build container
    $ docker-compose build | make dcb
    • Run container with flags
    $ docker-compose up -d --<flags name> | make dcu f=<flags name>
    • Run container build with flags
    $ docker-compose up -d --build --<flags name> | make dcubf f=<flags name>
    • Run container
    $ docker-compose up -d --build | make dcu
    • Stop container
    $ docker-compose down | make dcd

Author

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].