An open API service indexing awesome lists of open source software.

https://github.com/vivify-ideas/fiber-boilerplate

Fiber Boilerplate
https://github.com/vivify-ideas/fiber-boilerplate

boilerplate fiber-framework golang gorm

Last synced: 3 months ago
JSON representation

Fiber Boilerplate

Awesome Lists containing this project

README

        

Fiber Boilerplate

Fiber Logo

## Description

[Fiber](https://github.com/gofiber/fiber) Boilerplate made with ❤️ by [VivifyIdeas](https://www.vivifyideas.com).

## Start Guide

Just run already prepared bash script:
```bash
./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](https://gorm.io/index.html)

## 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](https://sentry.io/).

Just update `SENTRY_DSN` env variable and integration is done.

## Some features

- Basic boilerplate structure
- API/Web Routes
- CORS
- Requests Validation [Validator](https://github.com/go-playground/validator)
- Database configuration [GORM](https://gorm.io/index.html)
- Authentication (login, registration, password recovery, jwt auth middleware)
- Static assets (render HTML pages)
- Notifications (sending emails)
- Errors reporting (sentry.io)
- Files upload
- Dockerized