{"id":24189710,"url":"https://github.com/ztgx/hoopics-admin-restful-api-server","last_synced_at":"2025-09-21T13:32:35.067Z","repository":{"id":126533168,"uuid":"268300703","full_name":"zTgx/hoopics-admin-restful-api-server","owner":"zTgx","description":"hoopics website admin restful api server","archived":false,"fork":false,"pushed_at":"2024-06-12T11:54:59.000Z","size":29,"stargazers_count":5,"open_issues_count":0,"forks_count":4,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-04-04T03:51:03.075Z","etag":null,"topics":["hoopics","restful","restful-api","rust","web"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/zTgx.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":"2020-05-31T14:48:09.000Z","updated_at":"2025-01-16T13:28:06.000Z","dependencies_parsed_at":"2023-06-25T19:44:02.424Z","dependency_job_id":null,"html_url":"https://github.com/zTgx/hoopics-admin-restful-api-server","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/zTgx/hoopics-admin-restful-api-server","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zTgx%2Fhoopics-admin-restful-api-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zTgx%2Fhoopics-admin-restful-api-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zTgx%2Fhoopics-admin-restful-api-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zTgx%2Fhoopics-admin-restful-api-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zTgx","download_url":"https://codeload.github.com/zTgx/hoopics-admin-restful-api-server/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zTgx%2Fhoopics-admin-restful-api-server/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":276250074,"owners_count":25610366,"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","status":"online","status_checked_at":"2025-09-21T02:00:07.055Z","response_time":72,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["hoopics","restful","restful-api","rust","web"],"created_at":"2025-01-13T14:30:28.549Z","updated_at":"2025-09-21T13:32:34.859Z","avatar_url":"https://github.com/zTgx.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# hoopics admin restful api server\r\n前段时间使用ReactJs + Eggjs写了一个图片分享的网站 ~~hoopics~~, 顺带实现了一个后台管理系统.  \r\n去年开始使用Rust写项目, 于是想着继续使用Rust语言, 在web端的一个技术尝试.  \r\nhoopics-admin-restful-api的主要功能:  \r\n* 数据统计\r\n* 图片审核\r\n* 用户管理\r\n* 首页推荐\r\n---\r\n* 相关框架: actix-web + Diesel ORM + JWT + Mariadb.  \r\n* 代码结构: 学习eggjs, 即router -\u003e controller -\u003e service -\u003e model的结构.\r\n\r\n---\r\n.env 文件内容\r\n```\r\nHOOPICS_DATABASE_URL=主网站数据库地址\r\nHOOPICS_ADMIN_DATABASE_URL=admin数据库地址\r\nHOOPICS_STATISTICS_DATABASE_URL=统计数据库地址\r\n\r\nAPP_HOST=服务器IP\r\nAPP_PORT=端口\r\nHOOPICS_API_ROOT=http://IP:PORT/api/v2\r\n```\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fztgx%2Fhoopics-admin-restful-api-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fztgx%2Fhoopics-admin-restful-api-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fztgx%2Fhoopics-admin-restful-api-server/lists"}