Skip to content

dont32/fiber-lambda

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About The Project

This is a project template for golang fiber microservice with hexagonal architect support GORM and aws lambda serverless

Getting Started

Installation

  1. https://github.com/gofiber/fiber
  2. https://github.com/swaggo/swag
  3. https://github.com/golang-migrate/migrate
  4. https://github.com/go-gorm/gorm
  5. https://github.com/awslabs/aws-lambda-go-api-proxy

Usage

  1. Generate docs
  • swag init
  1. Start mysql & migrates data
  • make docker.mysql
  • make migrate.up
  1. Start server
  • go run main.go
  1. (Optinal) build for lambda
  • Modify main.go uncomment lambda.Start(app.Handler) and comment app.StartServer()
  • make docker.fiber.build

About

Golang Fiber template backend microservice with hexagonal architect support GORM and aws lambda serverless

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors