Skip to content

Vivify-Ideas/fiber-boilerplate

Repository files navigation

Fiber Boilerplate Fiber Logo

Description

Fiber Boilerplate made with ❤️ by VivifyIdeas.

Start Guide

Just run already prepared bash script:

./init.sh

It will setup the project for you (starting docker-compose stack, running migrations). The Fiber app running in dev mode will be exposed on http://localhost (port 3000)

ORM integration

For more details check GORM

Environment Configuration

All environment variables stored inside .env file, created automatically with init bash script. Intial values copied from .env.example.

Error Reporting

Integrated sentry.io.

Just update SENTRY_DSN env variable and integration is done.

Some features

  • Basic boilerplate structure
  • API/Web Routes
  • CORS
  • Requests Validation Validator
  • Database configuration GORM
  • Authentication (login, registration, password recovery, jwt auth middleware)
  • Static assets (render HTML pages)
  • Notifications (sending emails)
  • Errors reporting (sentry.io)
  • Files upload
  • Dockerized