{"repo":"hokamsingh/go-backend-template","free":true,"listed":false,"github":"https://github.com/hokamsingh/go-backend-template","clone":"git clone https://github.com/hokamsingh/go-backend-template.git","description":"a simple go back-end template to get started quickly.","language":"Go","stars":10,"topics":["backend","go","golang","template"],"license":null,"category":"databases-storage","readme_excerpt":"Go Backend Template A scalable backend boilerplate built with Go , Gin , GORM , PostgreSQL , and Redis . 🚀 Features - RESTful API using Gin - PostgreSQL + Redis integration - Modular service-based architecture - Middleware support (CORS, Logging) - Graceful shutdown handling - Environment variable configuration --- 📌 Getting Started Prerequisites Ensure you have the following installed: - Go (1.18+ recommended) - PostgreSQL - Redis Installation 1. Clone the repository: 2. Create a .env file and configure database credentials: 3. Install dependencies: 4. Run the database migrations (if applicable): 5. Start the server: The server should be running at http://localhost:8080 --- 📂 Project Structure --- 📡 API Endpoints Method Endpoint Description -------- --------------- ---------------------- GET /api/users Get all users POST /api/users Create a user GET /api/users/:id Get user by ID PUT /api/users/:id Update user DELETE /api/users/:id Delete user --- 🛠 Technologies Used - Go - Core language - Gin - HTTP framework - GORM - ORM for PostgreSQL - Redis - In-memory caching - Docker - Containerization (optional) --- 📝 License This project is licensed under the MIT License . Feel free to use and modify it as needed! --- 🤝 Contributing Contributions are welcome! If you find issues or have improvements, feel free to open an issue or PR. --- 🎯 Author Developed by Hokam Singh with ❤️. Connect on GitHub!","default_branch":null,"files":null,"tree":[],"storefront":"/r/hokamsingh","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/hokamsingh/go-backend-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."}