{"id":20007374,"url":"https://github.com/the-sabra/basic-go-api","last_synced_at":"2026-06-08T06:34:37.109Z","repository":{"id":247589033,"uuid":"818316234","full_name":"the-sabra/basic-go-api","owner":"the-sabra","description":"Basic API With CRUD opreation","archived":false,"fork":false,"pushed_at":"2024-07-09T12:16:53.000Z","size":8686,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-12T14:12:38.456Z","etag":null,"topics":["authentication","authrization","echo","echo-framework","go","jwt","rbac"],"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/the-sabra.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}},"created_at":"2024-06-21T15:15:09.000Z","updated_at":"2024-07-09T12:16:57.000Z","dependencies_parsed_at":"2024-07-09T15:53:03.030Z","dependency_job_id":null,"html_url":"https://github.com/the-sabra/basic-go-api","commit_stats":null,"previous_names":["the-sabra/basic-go-api"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/the-sabra%2Fbasic-go-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/the-sabra%2Fbasic-go-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/the-sabra%2Fbasic-go-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/the-sabra%2Fbasic-go-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/the-sabra","download_url":"https://codeload.github.com/the-sabra/basic-go-api/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241444196,"owners_count":19963760,"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","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":["authentication","authrization","echo","echo-framework","go","jwt","rbac"],"created_at":"2024-11-13T06:16:13.973Z","updated_at":"2026-06-08T06:34:37.103Z","avatar_url":"https://github.com/the-sabra.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"**# Go Project: JWT Authentication, RBAC Authorization, Echo Framework, Hot Reloading, SQLite with GORM**\n\nThis project serves as a practical exploration of Go's capabilities for building robust web applications. It implements essential features like:\n\n- **JWT (JSON Web Token) Authentication:** Securely validates user identities and provides access control.\n- **RBAC (Role-Based Access Control):** Granular access management based on user roles and permissions.\n- **Echo Framework:** A high-performance, minimalistic web framework for efficient development.\n- **Air:** Enables hot reloading of your Go code for a seamless development experience.\n- **SQLite:** A lightweight, embedded database providing a suitable choice for development and prototyping.\n- **GORM (Go ORM):** An Object-Relational Mapper simplifies database interactions and data modeling.\n- **LOGGING** \n\n**Project Objectives:**\n\n- Gain hands-on experience with Go's core concepts.\n- Master the construction of RESTful APIs with JWT authentication and RBAC authorization.\n- Explore hot reloading for rapid development iteration.\n- Utilize GORM for efficient and productive database access.\n\n**Target Audience:**\n\nThis project is ideal for:\n\n- Developers interested in learning Go web application development.\n- Individuals seeking to understand JWT, RBAC, Echo Framework, and GORM.\n- Programmers looking to leverage Go's concurrency capabilities for performance-critical tasks.\n\n**Learning Outcomes:**\n\nUpon completing this project, you'll be equipped to:\n\n- Create robust and secure Go applications with JWT authentication.\n- Implement RBAC for fine-grained access control.\n- Build RESTful APIs using Echo Framework.\n- Enhance development workflow with hot reloading.\n- Utilize GORM for object-relational mapping and database interactions.\n- Deepen your understanding of Go fundamentals\n\n**Getting Started:**\n\n1. **Clone the repository:**\n   ```bash\n   git clone https://the-sabra/basic-go-api.git\n   ```\n2. **Install dependencies:**\n   ```bash\n   cd basic-go-api\n   go mod download\n   ```\n3. **Run the application:**\n   ```bash\n   go run main.go\n   # or \n   air \n   ```\n**API Documentation**\n\nDetailed API documentation will be provided [Here](https://documenter.getpostman.com/view/22968167/2sA3XWbHzj),\nincluding all available endpoints, request/response formats, and authentication requirements.\n\n**Additional Notes:**\n\n- Feel free to modify or extend the project as needed to explore Go further.\n- Consider incorporating unit tests for enhanced project maintainability.\n- Refer to the official documentation of each technology for in-depth information.\n\n**Go: A Concurrency Powerhouse**\n\nGo's concurrency model, powered by goroutines and channels, is a key aspect of its performance. Goroutines are lightweight threads that can be launched efficiently, enabling parallel execution of tasks for responsiveness and scalability.\n\n**Future Projects in Go**\n\nBy successfully completing this project, you'll establish a strong foundation for tackling a wide range of Go projects, including:\n\n- Building microservices architectures\n- Developing high-performance web services and APIs\n- Creating command-line tools and utilities\n- Leveraging Go's concurrency for real-time applications\n\nI hope this MD provides a comprehensive overview of your Go project!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthe-sabra%2Fbasic-go-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthe-sabra%2Fbasic-go-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthe-sabra%2Fbasic-go-api/lists"}