Giter Club home page Giter Club logo

fibo's Introduction

Fibo - Go Fiber API Boilerplate

A starter project with Golang, Fiber and Gorm

Golang Fiber boilerplate with MySQL resource. Supports multiple configuration environments.

Features

  • Basic Auth with Login, Register
  • Email confirmation on Registration
  • Email forgot password
  • REST API Authentication with JWT
  • PostgresSQL or MySQL with GORM V2
  • Logging via zap with file rotation
  • Use of Redis for Cache and Session
  • Hot Reload with Air
  • Easy Config Settings based on .env
  • Setup for Docker
  • Easy and Almost Zero Downtime Production Deployment

Boilerplate structure

├── api
|   └── v1
│       ├── login.go
│       ├── password.go
|       └── register.go
├── config
│   └── config.go
├── db
│   └── db.go
├── docs
│   ├── docs.go
│   ├── swagger.json
│   └── swagger.yaml
├── log
│   └── log.go
├── router
│   └── router.go
├── tmp
├── .air.toml
├── main.go

Installation

Development

air -c .air.toml

Go to http://localhost:3000/

Production

docker build -t fibo .
docker run -d -p 3000:3000 fibo

Thanks to following libraries:

fibo's People

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.