Code Monkey home page Code Monkey logo

fiber-boilerplate's Introduction

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:

fiber-boilerplate's People

Contributors

deepsource-autofix[bot] avatar deepsourcebot avatar dependabot[bot] avatar stefanwuthrich avatar sujit-baniya avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

fiber-boilerplate's Issues

xid not available

Running returns https://github.com/sujit-baniya/xid/ is not available.
Could you kindly help look into this.
The error occurs while running go run main.go --migrate

Thank you!

Mysql timezone

[error] failed to initialize database, got error unknown time zone Localcasbin

I am using mysql i added line to the my.ini default-time-zone = "+04:00" and then i changed the loc in connectionstring but no success

Login/register/logout behaviour

Hi,
Thank you so much for the updates.
I observe an erratic behavior whereby registering was straightforward but registered users can not log in. Specifically, I register a user from the webpage, then logged out. I wasn't able to log in again with the registered user details. I am not sure if this is the intended behavior.

Thank you!

Log file not found

Describe the bug
Hi, during the setup it says https://github.com/sujit-baniya/log/ can not be found. Could you kindly help look into this? It seems the repo is truly missing.
Thank you.

Problem installing sujit-baniya/log on go v 17.6

I got an error while installation

$ go get .
# github.com/sujit-baniya/fiber-boilerplate
github.com/sujit-baniya/log.(*Logger).header: relocation target runtime.walltime not defined

linux x64 go version 17.6

sblogger not found

Hi, I wanted to try this but during the setup it says the sblogger repo cannot be found. Searching through your repos it seems that it has been removed. Any help? Thank you.

Error when install

image

I got this error when install and run main.go, how can i fix it please ?

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.