Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rust: develop a web framework - Hellscream #364

Open
5 tasks done
Tracked by #369 ...
hhstore opened this issue Jun 23, 2022 · 10 comments
Open
5 tasks done
Tracked by #369 ...

Rust: develop a web framework - Hellscream #364

hhstore opened this issue Jun 23, 2022 · 10 comments

Comments

@hhstore
Copy link
Owner

hhstore commented Jun 23, 2022

related:

@hhstore
Copy link
Owner Author

hhstore commented Jun 23, 2022

开发一个 Rust Web 框架: Hellscream

项目地址: 进度 1%.

命名来自: 魔兽世界 Grommash Hellscream: "We Will Never Be Slaves"

  • 纪念这句口号.

为什么要写一个 rust web 框架?

  • 目前 rust 社区没有类似 Django(Python) 这样的项目.
  • 个人需求: 搭建一个小型 CMS 网站.
  • 学习 rust. 学习一门语言最好的方式, 就是用他写一个感兴趣的项目.

设计目标:

  • 目标用户规模: 0-100w 用户. (超过此规模, 请融资+雇人解决).
  • 兼顾 Django 的易用性 和 当前流行的 微服务架构 模型.
    • 这二者不冲突.
    • 可以平滑过渡.

@hhstore
Copy link
Owner Author

hhstore commented Jun 23, 2022

开发流水账:

参考项目:

同类项目:

其他参考:

cms:

@hhstore
Copy link
Owner Author

hhstore commented Jun 23, 2022

TODO:

  • 因为对标 Django, 要集成一些中间件(数据库/缓存/消息队列等).
  • 接口范式设计上, 参考 go-micro 接口抽象的巅峰.
  • 内置标准范式.

核心功能:

用户: user

  • user
  • role
  • permission

登录: auth

  • 注册/登录: 邮箱/短信
  • oauth
  • web3 wallet auth

中间件:

数据库:

  • mysql
  • postgres

缓存:

  • redis

消息队列:

  • nats
  • kafka

3rd 服务集成:

推送服务:

  • 短信推送: sms

监控告警类

  • sentry
  • 其他.

bot 类:

  • discord
  • telegram

@hhstore
Copy link
Owner Author

hhstore commented Jun 23, 2022

@hhstore
Copy link
Owner Author

hhstore commented Jun 23, 2022

@hhstore
Copy link
Owner Author

hhstore commented Jun 23, 2022

1

3 similar comments
@hhstore
Copy link
Owner Author

hhstore commented Jun 23, 2022

1

@hhstore
Copy link
Owner Author

hhstore commented Jun 26, 2022

1

@hhstore
Copy link
Owner Author

hhstore commented Jun 26, 2022

1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant