{"id":37179166,"url":"https://github.com/yousefzinsazk78/blog_json_api","last_synced_at":"2026-01-14T20:51:45.685Z","repository":{"id":190669027,"uuid":"682689184","full_name":"YousefZinsazK78/blog_json_api","owner":"YousefZinsazK78","description":"Blog rest api, works with mysql and fiber v2 and use jwt for auth ....","archived":false,"fork":false,"pushed_at":"2023-09-03T09:37:22.000Z","size":90404,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2023-09-04T12:21:57.594Z","etag":null,"topics":["blog","go","golang","jwt","jwt-authentication","mysql"],"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/YousefZinsazK78.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}},"created_at":"2023-08-24T18:00:34.000Z","updated_at":"2023-09-03T09:49:05.000Z","dependencies_parsed_at":"2023-08-25T21:45:08.534Z","dependency_job_id":null,"html_url":"https://github.com/YousefZinsazK78/blog_json_api","commit_stats":null,"previous_names":["yousefzinsazk78/blog_json_api"],"tags_count":0,"template":null,"template_full_name":null,"purl":"pkg:github/YousefZinsazK78/blog_json_api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YousefZinsazK78%2Fblog_json_api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YousefZinsazK78%2Fblog_json_api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YousefZinsazK78%2Fblog_json_api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YousefZinsazK78%2Fblog_json_api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/YousefZinsazK78","download_url":"https://codeload.github.com/YousefZinsazK78/blog_json_api/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YousefZinsazK78%2Fblog_json_api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28434500,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T18:57:19.464Z","status":"ssl_error","status_checked_at":"2026-01-14T18:52:48.501Z","response_time":107,"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":["blog","go","golang","jwt","jwt-authentication","mysql"],"created_at":"2026-01-14T20:51:45.034Z","updated_at":"2026-01-14T20:51:45.672Z","avatar_url":"https://github.com/YousefZinsazK78.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# blog json api\n\n\nin this blog api backend we want to work with restful api mysql database and using mysql driver in golang\n\u003cbr /\u003e\nand using fiber golang framework and useing middlewares and routers ...\n\npackages : \n   fiber v2 : github.com/gofiber/fiber/v2\n   \n\nmysql tables:\n1. post table\n   1. title (string) \n   2. description (string)\n   3. author (string)\n   4. likes ([]int)\n   5. comments ([]string)\n   6. createdAt (datetime)\n   7. updatedAt (datetime)\n\n2. user table\n   1. fullname\n   2. username\n   3. password\n   4. email\n   5. (private) admin , guest ,writer user permission\n      1. rule writer =\u003e write , read , update , delete blog\n      2. rule admin =\u003e write , read , update , delete blog, delete comments, delete users\n      3. rule guest =\u003e read blog , read comments\n\nfeatures:\n   insert post\n   insert category\n   insert comment\n   insert like (add like/dislike)\nadmin features:\n   insert , update , delete , view users\n   insert , update , delete , view posts\n\ntools :\n   Mysql database\n   Fiber/v2 framework\n   godotenv for load .env files\n   middlewares (auth middleware)\n   use queryparser, bodyparser\n   JWT for authentication","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyousefzinsazk78%2Fblog_json_api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyousefzinsazk78%2Fblog_json_api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyousefzinsazk78%2Fblog_json_api/lists"}