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
- Host: GitHub
- URL: https://github.com/vivify-ideas/fiber-boilerplate
- Owner: Vivify-Ideas
- Created: 2021-03-09T10:18:46.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2021-03-15T20:55:58.000Z (about 4 years ago)
- Last Synced: 2025-01-04T06:28:19.331Z (4 months ago)
- Topics: boilerplate, fiber-framework, golang, gorm
- Language: Go
- Homepage:
- Size: 46.9 KB
- Stars: 3
- Watchers: 8
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Fiber Boilerplate
![]()
## 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