{"id":18273587,"url":"https://github.com/rus-sharafiev/go-rest-common","last_synced_at":"2025-04-09T03:40:53.986Z","repository":{"id":229621583,"uuid":"777198773","full_name":"rus-sharafiev/go-rest-common","owner":"rus-sharafiev","description":"Common services for the REST service","archived":false,"fork":false,"pushed_at":"2024-03-25T13:06:24.000Z","size":12,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-04-17T19:26:03.281Z","etag":null,"topics":["golang","rest-api"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rus-sharafiev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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-03-25T11:58:20.000Z","updated_at":"2024-06-19T04:00:29.128Z","dependencies_parsed_at":null,"dependency_job_id":"e974f72d-6c03-45bf-bc5a-09cb70bc4e3d","html_url":"https://github.com/rus-sharafiev/go-rest-common","commit_stats":null,"previous_names":["rus-sharafiev/go-rest-common"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rus-sharafiev%2Fgo-rest-common","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rus-sharafiev%2Fgo-rest-common/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rus-sharafiev%2Fgo-rest-common/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rus-sharafiev%2Fgo-rest-common/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rus-sharafiev","download_url":"https://codeload.github.com/rus-sharafiev/go-rest-common/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247974584,"owners_count":21026742,"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":["golang","rest-api"],"created_at":"2024-11-05T12:06:59.159Z","updated_at":"2025-04-09T03:40:53.958Z","avatar_url":"https://github.com/rus-sharafiev.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Common services for the [REST service](https://github.com/rus-sharafiev/go-rest)\n\nThe module includes the following packages:\n- db\n  \u003e PostgreSQL instance, instance creator and custom methods (based on the [pgx driver](https://github.com/jackc/pgx))\n- exception\n  \u003e a set of functions that write JSON encoded errors to `http.ResponseWriter`\n- formdata\n  \u003e Middleware that saves files and \"restore\" JSON (requires [custom FormData converter](https://github.com/rus-sharafiev/fetch-api) on frontend)\n- jwt\n  \u003e Generates and validates JWT (based on [jwt-go](https://github.com/golang-jwt/jwt))\n- mail\n  \u003e Some basic functions to send a mail using `net/smtp`\n- spa\n  \u003e `http.Handler` for serving SPA and static files\n- uploads\n  \u003e `http.Handler` for serving uploads protected by access token.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frus-sharafiev%2Fgo-rest-common","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frus-sharafiev%2Fgo-rest-common","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frus-sharafiev%2Fgo-rest-common/lists"}