This is a starter template in Go using Go Fiber. This simple template allows even beginners to start writing their backend code without worrying about the boilerplate.
Backend | Go |
Database | MongoDB |
Programming Languages | Go (Golang) |
- | Go (Golang) |
Use Case | Entertainment |
- | API |
- | E-commerce |
- | Healthcare |
- | Education |
This is a starter template in Go using Go Fiber. This simple template allows even beginners to start writing their backend code without worrying about the boilerplate. The folder structure is easy to understand, and it includes implementations for authentication, MongoDB connection, and file uploading using S3.
/home/chirag/Projects/go-backend-template/
├── main.go
├── config/
├── controllers/
├── db/
├── helpers/
├── middlewares/
├── models/
├── repository/
├── routes/
└── README.md
git clone https://github.com/chirag3003/go-backend-template.git
cd go-backend-template
go mod tidy
.env
:
cp .env.example .env
Run the application:
go run main.go
The server will start at http://localhost:5000
.
Contributions are welcome! Please fork the repository and create a pull request.
Chirag Bhalotia
GitHub: chirag3003
This project is licensed under the MIT License.
Ready to turn your projects into opportunities and build your future? Let’s get started!
Get Started