https://github.com/ztgx/hoopics-admin-restful-api-server
hoopics website admin restful api server
https://github.com/ztgx/hoopics-admin-restful-api-server
hoopics restful restful-api rust web
Last synced: 9 months ago
JSON representation
hoopics website admin restful api server
- Host: GitHub
- URL: https://github.com/ztgx/hoopics-admin-restful-api-server
- Owner: zTgx
- Created: 2020-05-31T14:48:09.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2024-06-12T11:54:59.000Z (about 2 years ago)
- Last Synced: 2025-04-04T03:51:03.075Z (about 1 year ago)
- Topics: hoopics, restful, restful-api, rust, web
- Language: Rust
- Homepage:
- Size: 28.3 KB
- Stars: 5
- Watchers: 0
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# hoopics admin restful api server
前段时间使用ReactJs + Eggjs写了一个图片分享的网站 ~~hoopics~~, 顺带实现了一个后台管理系统.
去年开始使用Rust写项目, 于是想着继续使用Rust语言, 在web端的一个技术尝试.
hoopics-admin-restful-api的主要功能:
* 数据统计
* 图片审核
* 用户管理
* 首页推荐
---
* 相关框架: actix-web + Diesel ORM + JWT + Mariadb.
* 代码结构: 学习eggjs, 即router -> controller -> service -> model的结构.
---
.env 文件内容
```
HOOPICS_DATABASE_URL=主网站数据库地址
HOOPICS_ADMIN_DATABASE_URL=admin数据库地址
HOOPICS_STATISTICS_DATABASE_URL=统计数据库地址
APP_HOST=服务器IP
APP_PORT=端口
HOOPICS_API_ROOT=http://IP:PORT/api/v2
```