{"id":31287610,"url":"https://github.com/sonyarianto/gobete","last_synced_at":"2025-09-24T11:04:34.609Z","repository":{"id":315738567,"uuid":"1060667959","full_name":"sonyarianto/gobete","owner":"sonyarianto","description":"gobete is short for \"Go backend template\". It is a boilerplate backend API built with Go (Golang) and the Fiber web framework. It provides a solid foundation for building RESTful APIs with features like user authentication, database integration, and more.","archived":false,"fork":false,"pushed_at":"2025-09-20T10:58:10.000Z","size":21,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-20T12:34:51.801Z","etag":null,"topics":["backend","golang"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sonyarianto.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-20T10:51:59.000Z","updated_at":"2025-09-20T10:59:11.000Z","dependencies_parsed_at":"2025-09-20T16:33:22.684Z","dependency_job_id":null,"html_url":"https://github.com/sonyarianto/gobete","commit_stats":null,"previous_names":["sonyarianto/gobete"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/sonyarianto/gobete","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sonyarianto%2Fgobete","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sonyarianto%2Fgobete/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sonyarianto%2Fgobete/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sonyarianto%2Fgobete/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sonyarianto","download_url":"https://codeload.github.com/sonyarianto/gobete/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sonyarianto%2Fgobete/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":276737524,"owners_count":25695700,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-24T02:00:09.776Z","response_time":97,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["backend","golang"],"created_at":"2025-09-24T11:01:58.967Z","updated_at":"2025-09-24T11:04:34.601Z","avatar_url":"https://github.com/sonyarianto.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gobete\n\nHi! gobete is short for \"Go backend template\". It is a boilerplate backend API built with Go (Golang) and the Fiber web framework. It provides a solid foundation for building RESTful APIs with features like user authentication, database integration, and more.\n\n## Features\n\n- User authentication and management.\n- Connection to MySQL database using GORM.\n- Easy to understand and extend, as long as you follow the existing structure and understand Golang and Fiber basics. Everything starts from `main.go`. The `internal` directory contains the core application logic, organized into subdirectories for different modules and functionalities.\n- Environment configuration using `.env` file.\n\n## Goals\n- Provide a robust and scalable backend for any web application.\n- Ensure security and efficiency in handling user data and requests.\n- Facilitate easy integration with frontend applications and other services.\n- Maintain clean and maintainable codebase for future development.\n- Follow best practices in Go programming and web development.\n- Support OpenAPI/Swagger documentation for easy API exploration and testing.\n- Implement comprehensive error handling and logging.\n- Use middleware for tasks like logging, CORS, and authentication.\n- Enable hot reloading during development for faster iteration.\n- Support deployment in various environments, including local, staging, and production.\n- Unit and integration testing to ensure code quality and reliability.\n\n## Getting started\n\nTo get started with the gobete API, follow these steps:\n\n1. Clone the repository:\n   ```bash\n   git clone https://github.com/sonyarianto/gobete.git\n   ```\n\n2. Navigate to the project directory:\n   ```bash\n   cd gobete\n   ```\n\n3. Install the required dependencies:\n   ```bash\n   go mod tidy\n   ```\n\n4. Set up your environment variables:\n   Copy the `.env.example` file to `.env` and fill in the required values.\n\n5. Run the application:\n   ```bash\n   go run main.go\n   ```\n6. The API will be available at `http://localhost:9000` (or the port you specified in the `.env` file).\n\n## Hot reload during development\nFor development, you can use `air` for hot reloading. Install it using:\n```bash\ngo install github.com/air-verse/air@latest\n```\nThen run:\n```bash\nair\n```\n\n## Before commit\n- Run `go vet` to catch any potential issues.\n- Ensure all tests are passing.\n- Update documentation as needed.\n- Run `go fmt` to format the code.\n- Check for any TODOs or FIXMEs in the code.\n\n## Author\n- Sony AK - [sony@sony-ak.com](https://sony-ak.com)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsonyarianto%2Fgobete","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsonyarianto%2Fgobete","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsonyarianto%2Fgobete/lists"}