Skip to content
Projects

sujit-baniya/fiber-boilerplate

View on GitHub

About

A Go boilerplate built on the Fiber web framework. A simple setup gives you access to many features out of the box.

Web & App Development

How these counts are measured

What you can do

  • Basic Auth with Login,Register
  • Email confirmation on Registration
  • Role based authorization using Casbin
  • UI on Tailwind. Setup ready for VueJS integration

Measured star growth

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
Collecting history

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

README.md

Original

Looking for some more features or ideas??? Let's discuss on Discussions.

This is the go boilerplate on the top of fiber web framework.

With simple setup, you can use many features out of the box.

For details, visit Documentation

The features include:

  • Basic Auth with Login,Register
  • Email confirmation on Registration
  • Role based authorization using Casbin
  • File uploads
  • UI on Tailwind. Setup ready for VueJS integration
  • Laravel mix for UI
  • Payment processing via PayPal
  • Logging via Phuslu/Log with file rotation
  • PostGres or MySQL with GORM V2
  • REST API Authentication with JWT
  • APP and API Separation based on JWT Token
  • REST based basic auth
  • Use of Redis for Cache and Session
  • Hot Reload with Air
  • Flash Message based on cookies
  • Easy Config Settings based on .env
  • Setup for Docker
  • Easy and Almost Zero Downtime Production Deployment with Makefile

Installation

  • Clone the repo git clone https://github.com/sujit-baniya/fiber-boilerplate.git
  • Make sure you have installed: Redis, MySQL or Postgres
  • Copy .env.sample to .env
  • To build the frontend, install nodejs
  • Then run npm install and npm run prod
  • Your server should be up now

Thanks to following libraries:

Explore related projects

Loading…