{"id":28328665,"url":"https://github.com/pedrorcruzz/gin-jwt-mongo","last_synced_at":"2026-05-08T17:35:17.052Z","repository":{"id":295118596,"uuid":"989178641","full_name":"pedrorcruzz/gin-jwt-mongo","owner":"pedrorcruzz","description":"Project to test the features of Gin along with JWT and MongoDB.","archived":false,"fork":false,"pushed_at":"2025-05-25T15:56:25.000Z","size":26,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-23T10:42:27.634Z","etag":null,"topics":["gin","go","jwt","layerd-architecture","mongodb"],"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/pedrorcruzz.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}},"created_at":"2025-05-23T17:23:34.000Z","updated_at":"2025-05-25T15:56:28.000Z","dependencies_parsed_at":"2025-05-23T18:40:42.322Z","dependency_job_id":"899b8489-0d64-420c-909e-7cac82713d6b","html_url":"https://github.com/pedrorcruzz/gin-jwt-mongo","commit_stats":null,"previous_names":["pedrorcruzz/gin-jwt-mongo"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/pedrorcruzz/gin-jwt-mongo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pedrorcruzz%2Fgin-jwt-mongo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pedrorcruzz%2Fgin-jwt-mongo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pedrorcruzz%2Fgin-jwt-mongo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pedrorcruzz%2Fgin-jwt-mongo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pedrorcruzz","download_url":"https://codeload.github.com/pedrorcruzz/gin-jwt-mongo/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pedrorcruzz%2Fgin-jwt-mongo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32790578,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-08T08:22:46.396Z","status":"ssl_error","status_checked_at":"2026-05-08T08:22:45.650Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["gin","go","jwt","layerd-architecture","mongodb"],"created_at":"2025-05-26T08:16:12.395Z","updated_at":"2026-05-08T17:35:17.033Z","avatar_url":"https://github.com/pedrorcruzz.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Gin + JWT + MongoDB Starter Project\n\n## 📌 Status\n\n### 🚧 in developing, but it is currently on hold. I will resume it soon.\n\n\nThis project was created to test and explore the main features of the [Gin](https://gin-gonic.com/) web framework in combination with [JWT](https://jwt.io/) for authentication and [MongoDB](https://www.mongodb.com/) as the database.\n\n## 🧱 Architecture\n\nThis project follows the **Layered Architecture** pattern, separating concerns into different layers such as `handler`, `service`, `repository`, `entities`, and `utils`. This structure improves code organization, maintainability, and scalability as the project grows.\n\n## 🔧 Technologies Used\n\n- [Gin](https://github.com/gin-gonic/gin) – A high-performance HTTP web framework written in Go.\n- [JWT](https://github.com/golang-jwt/jwt) – JSON Web Tokens for secure authentication.\n- [MongoDB](https://www.mongodb.com/) – NoSQL database for data storage.\n- [Go](https://golang.org/) – Programming language used in the project.\n\n## 🚀 Features\n\n- User registration and login with JWT authentication\n- Protected routes using middleware\n- Integration with MongoDB to persist user data\n- Clean and modular project structure for scalability\n\n\n\n## Run Project\n\n### Run\n```\ngo run ./cmd/api\n```\n### Build\n\n```\ngo build ./cmd/api\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpedrorcruzz%2Fgin-jwt-mongo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpedrorcruzz%2Fgin-jwt-mongo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpedrorcruzz%2Fgin-jwt-mongo/lists"}