• Stars
    star
    739
  • Rank 61,358 (Top 2 %)
  • Language
    Go
  • Created over 8 years ago
  • Updated 5 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A starter project with Golang, Gin and DynamoDB

Go Gin Boilerplate

A starter project with Golang, Gin and DynamoDB

Build Status codebeat badge Go Version License FOSSA Status

Golang Gin boilerplate with DynamoDB resource. Supports multiple configuration environments.

This project use a DynamoDB base docker image.

Setup DynamoDB dependency: docker run -d -p 8080:8080 vsouza/dynamo-local --port 8080

Boilerplate structure

.
β”œβ”€β”€ Makefile
β”œβ”€β”€ Procfile
β”œβ”€β”€ README.md
β”œβ”€β”€ config
β”‚Β Β  β”œβ”€β”€ config.go
β”‚Β Β  β”œβ”€β”€ development.yaml
β”‚Β Β  β”œβ”€β”€ production.yaml
β”‚Β Β  └── test.yaml
β”œβ”€β”€ controllers
β”‚Β Β  └── user.go
β”œβ”€β”€ db
β”‚Β Β  └── db.go
β”œβ”€β”€ forms
β”‚Β Β  └── user.go
β”œβ”€β”€ header.jpg
β”œβ”€β”€ main.go
β”œβ”€β”€ middlewares
β”‚Β Β  └── auth.go
β”œβ”€β”€ models
β”‚Β Β  └── user.go
└── server
    β”œβ”€β”€ router.go
    └── server.go

Installation

make deps

Usage example

curl http://localhost:8888/health

Development setup

Running DynamoDB on Docker Image:

check this project: vsouza/docker-dynamoDB-local

Release History

  • 0.0.1
    • Configuration by environment, Auth and Log middlewares, User entity.

Meta

Vinicius Souza – @iamvsouza – [email protected]

Distributed under the MIT license. See License for more information.

https://github.com/vsouza

License

FOSSA Status

More Repositories

1

awesome-ios

A curated list of awesome iOS ecosystem, including Objective-C and Swift Projects
Swift
46,691
star
2

awesome-gists

A collection of amazing gists
645
star
3

docker-SQS-local

Docker image to run Amazon Simple Queue Service (Amazon SQS) locally.
Dockerfile
224
star
4

go-kafka-example

Golang Kafka consumer and producer example
Go
162
star
5

docker-Kinesis-local

Docker build for AWS Kinesis local
Dockerfile
44
star
6

democratic

A Golang API skeleton with GraphQL
Go
42
star
7

dotfiles

🏑 My dotfiles
Vim Script
31
star
8

JWT-Tornado

An implementation of JSON Web Tokens in Python Tornado
Python
29
star
9

.vimrc

My Vim Setup
Vim Script
26
star
10

GraphQL-handler

GraphQL Handler with Swift Perfect Framework
Swift
21
star
11

Bird

🐦 iOS Push Notifications with Python
Python
12
star
12

docker-dynamoDB-local

Docker build for AWS DynamoDB
Dockerfile
12
star
13

spark-kinesis-redshift

Example project for consuming AWS Kinesis streamming and save data on Amazon Redshift using Apache Spark
Python
11
star
14

go-graphql-subscription

Sample Golang implementation of Subscriptions in GraphQL
Go
9
star
15

ScriptEx

WIP: A collection of Elixir scripts for those who live in the command line
Elixir
7
star
16

weekly.awesomeios.com

Our weekly digest in open source repository ❀️
CSS
6
star
17

Scylla

A simple Elixir GraphQL API
Elixir
6
star
18

Wings

Pure Swift cURL Requests
Swift
6
star
19

VSBase64

Pure Swift base64 encode and decode implementation (Linux ready)
Swift
5
star
20

go-lambda-mailchimp

Simple AWS lambda written in golang to subscribe users on Mailchimp list - Made with Apex
Go
5
star
21

pug

Golang service API skeleton
Go
5
star
22

docker-hhvm-slim

Docker container with HHVM and Slim PHP 🐳 🐘
Shell
5
star
23

nickel

Get AWS Billing Report ,index data in Elastic Search and show graphics in kibana.
Go
5
star
24

.com

My personal website
HTML
3
star
25

vsouza

3
star
26

empty

1
star