{"repo":"create-go-app/fiber-go-template","free":true,"listed":false,"github":"https://github.com/create-go-app/fiber-go-template","clone":"git clone https://github.com/create-go-app/fiber-go-template.git","description":"📝 Production-ready backend template with Fiber Go Web Framework for Create Go App CLI.","language":"Go","stars":1112,"topics":["template-project","golang-app-server","golang","api-server","api-test","create-go-app","cgapp","fiber","backend-template","docker"],"license":"Apache-2.0","category":"deployment-docker-iac","readme_excerpt":"Fiber backend template for Create Go App CLI &nbsp; &nbsp; Fiber is an Express.js inspired web framework build on top of Fasthttp, the fastest HTTP engine for Go. Designed to ease things up for fast development with zero memory allocation and performance in mind. ⚡️ Quick start 1. Create a new project with Fiber: 2. Rename .env.example to .env and fill it with your environment values. 3. Install Docker and the following useful Go tools to your system: - golang-migrate/migrate for apply migrations - github.com/swaggo/swag for auto-generating Swagger API docs - github.com/securego/gosec for checking Go security issues - github.com/go-critic/go-critic for checking Go the best practice issues - github.com/golangci/golangci-lint for checking Go linter issues 4. Run project by this command: 5. Go to API Docs page (Swagger): 127.0.0.1:5000/swagger/index.html 🗄 Template structure ./app Folder with business logic only . This directory doesn't care about what database driver you're using or which caching solution your choose or any third-party things. - ./app/controllers folder for functional controllers (used in routes) - ./app/models folder for describe business models and methods of your project - ./app/queries folder for describe queries for models of your project ./docs Folder with API Documentation . This directory contains config files for auto-generated API Docs by Swagger. ./pkg Folder with project-specific functionality . This directory contains all the project-specific code","default_branch":null,"files":null,"tree":[],"storefront":"/r/create-go-app","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/create-go-app/fiber-go-template/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}