{"id":24516253,"url":"https://github.com/thnkrn/go-gin-postgres","last_synced_at":"2026-04-17T09:32:38.154Z","repository":{"id":122984021,"uuid":"451356996","full_name":"thnkrn/go-gin-postgres","owner":"thnkrn","description":"Restful API service with Gin, JWT, GORM, PostgresSQL and wire","archived":false,"fork":false,"pushed_at":"2022-01-28T03:36:08.000Z","size":108,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-05T06:58:45.903Z","etag":null,"topics":["gin","go","golang","gorm","wire"],"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/thnkrn.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":"2022-01-24T07:19:19.000Z","updated_at":"2023-03-08T22:09:39.000Z","dependencies_parsed_at":"2023-03-13T12:16:34.168Z","dependency_job_id":null,"html_url":"https://github.com/thnkrn/go-gin-postgres","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/thnkrn/go-gin-postgres","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thnkrn%2Fgo-gin-postgres","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thnkrn%2Fgo-gin-postgres/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thnkrn%2Fgo-gin-postgres/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thnkrn%2Fgo-gin-postgres/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thnkrn","download_url":"https://codeload.github.com/thnkrn/go-gin-postgres/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thnkrn%2Fgo-gin-postgres/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31923154,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-17T09:10:15.403Z","status":"ssl_error","status_checked_at":"2026-04-17T09:10:14.455Z","response_time":62,"last_error":"SSL_read: 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","golang","gorm","wire"],"created_at":"2025-01-22T01:22:31.060Z","updated_at":"2026-04-17T09:32:38.136Z","avatar_url":"https://github.com/thnkrn.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Restful API service with Gin, JWT, GORM, PostgresSQL and wire\n\n## Template Structure\n\n- [Gin](github.com/gin-gonic/gin) is a web framework written in Go (Golang). It features a martini-like API with performance that is up to 40 times faster thanks to httprouter. If you need performance and good productivity, you will love Gin.\n- [JWT](github.com/golang-jwt/jwt) A go (or 'golang' for search engine friendliness) implementation of JSON Web Tokens.\n- [GORM](https://gorm.io/index.html) with [PostgresSQL](https://gorm.io/docs/connecting_to_the_database.html#PostgreSQL)The fantastic ORM library for Golang aims to be developer friendly.\n- [Wire](https://github.com/google/wire) is a code generation tool that automates connecting components using dependency injection.\n- [fresh](https://github.com/gravityblast/fresh) is a command line tool that builds and (re)starts your web application everytime you save a Go or template file.\n- [Viper](https://github.com/spf13/viper) is a complete configuration solution for Go applications including 12-Factor apps. It is designed to work within an application, and can handle all types of configuration needs and formats.\n\n## Available Scripts\n\nIn the project directory, you can run:\n\n### `make watch`\n\nRun and debug application with live reloading\n\n### `make build`\n\nGenerate an execute file\n\n### `make run`\n\nRun an execute file\n\n### `make serve`\n\nGenerate and run application\n\n## Available Endpoint\n\nIn the project directory, you can call:\n\n### `GET /`\n\nFor getting status page\n\n### `POST /login`\n\nFor generating a JWT\n\n### `GET /api/campaigns`\n\nFor getting all of campaigns\n\n### `GET /api/campaigns/:id`\n\nFor getting campaign by ID\n\n### `POST /api/campaigns`\n\nFor creating new campaign\n\n### `DELETE /api/campaigns/:id`\n\nFor removing existing campaign\n\n### `PUT /api/campaigns/:id`\n\nFor updating existing campaign\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthnkrn%2Fgo-gin-postgres","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthnkrn%2Fgo-gin-postgres","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthnkrn%2Fgo-gin-postgres/lists"}