{"id":21374439,"url":"https://github.com/hixraid/blog","last_synced_at":"2026-05-17T12:07:46.411Z","repository":{"id":206722843,"uuid":"716760301","full_name":"HixRaid/blog","owner":"HixRaid","description":"Blog REST API (Go, Gin, MySQL)","archived":false,"fork":false,"pushed_at":"2024-02-10T20:08:35.000Z","size":83,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-22T21:25:52.627Z","etag":null,"topics":["blog","go","jwt","mysql","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/HixRaid.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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":"2023-11-09T20:18:00.000Z","updated_at":"2024-04-05T13:51:53.000Z","dependencies_parsed_at":"2023-12-23T21:27:54.407Z","dependency_job_id":"9d53f012-eeea-4130-9375-960bb389cf52","html_url":"https://github.com/HixRaid/blog","commit_stats":null,"previous_names":["hixraid/blog"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HixRaid%2Fblog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HixRaid%2Fblog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HixRaid%2Fblog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HixRaid%2Fblog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HixRaid","download_url":"https://codeload.github.com/HixRaid/blog/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243847056,"owners_count":20357317,"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":["blog","go","jwt","mysql","rest-api"],"created_at":"2024-11-22T08:42:27.024Z","updated_at":"2026-05-17T12:07:41.379Z","avatar_url":"https://github.com/HixRaid.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 💬 Blog\n\nSimple Go blog\n\n## 📄 Routes\n\n- /auth\n  - /sign-up `POST` SignUp\n  - /sign-in `POST` SignIn\n- /api\n  - /users\n    - /:user_id `GET` GetUserById\n    - / `GET` GetAllUsers\n    - / `PUT` UpdateUserById 🧑 `auth`\n    - / `DELETE` DeleteUserById 🧑 `auth`\n  - /posts\n    - / `POST` CreatePost 👑 `auth / admin`\n    - / `GET` GetAllPosts\n    - /:post_id `GET` GetPostById\n    - /:post_id `PUT` UpdatePostById 👑 `auth / admin`\n    - /:post_id `DELETE` DeleteUserById 👑 `auth / admin`\n    - /:post_id/comments\n      - / `POST` CreateCommentByPostId 🧑 `auth`\n      - / `GET` GetCommentsByPostId\n  - /comments\n    - /:comment_id `PUT` UpdateCommentById 🧑 `auth`\n    - /:comment_id `DELETE` DeleteCommentById 🧑 `auth`\n\n## 🛠️ Built with\n\n- Go `1.21.4`\n- MySQL `8.0.34`\n\n## 📦 Libraries\n\n| Name   | Module                                                                   | Version  |\n| :----- | :----------------------------------------------------------------------- | :------- |\n| gin    | [github.com/gin-gonic/gin](https://github.com/gin-gonic/gin)             | `1.9.1`  |\n| jwt    | [github.com/golang-jwt/jwt/v5](https://github.com/golang-jwt/jwt)        | `5.1.0`  |\n| viper  | [github.com/spf13/viper](https://github.com/spf13/viper)                 | `1.17.0` |\n| logrus | [github.com/sirupsen/logrus](https://github.com/sirupsen/logrus)         | `1.9.3`  |\n| sqlx   | [github.com/jmoiron/sqlx](https://github.com/jmoiron/sqlx)               | `1.3.5`  |\n| mysql  | [github.com/go-sql-driver/mysql](https://github.com/go-sql-driver/mysql) | `1.7.1`  |\n| crypto | [golang.org/x/crypto](https://cs.opensource.google/go/x/crypto)          | `0.15.0` |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhixraid%2Fblog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhixraid%2Fblog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhixraid%2Fblog/lists"}