michelbernardods / the-better-backend

A template for a GoLang backend using Fiber, MongoDB, a Makefile, and more

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

the-better-backend

A template for a GoLang backend using Fiber, MongoDB, a Makefile, and more

Getting Started

VIDEOS

Prerequisites

Installing

  1. Install extra packages: go install github.com/cosmtrek/air@latest go install github.com/swaggo/swag/cmd/swag@latest
  2. Clone the repo
  3. Create your own .env file
  4. make dev
  5. view docs at http://localhost:8080/swagger

Scripts

  • make dev - runs the server in development mode
  • make swagger - generates the swagger docs

About

A template for a GoLang backend using Fiber, MongoDB, a Makefile, and more

License:MIT License


Languages

Language:Go 98.6%Language:Shell 0.9%Language:Makefile 0.5%