happypeter / onestep

haoqicat.com 代码
http://haoqicat.com
171 stars 90 forks source link

JAM 技术架构讨论 #710

Closed happypeter closed 6 years ago

happypeter commented 6 years ago

JAM 架构可以很方便的实现代码分片,服务器端渲染。

happypeter commented 6 years ago

登录方案使用 JWT

happypeter commented 6 years ago

首页要是静态页面,最大化加载速度。 好奇猫上的每一个免费课程页,都要可以作为一个 url 分享到微信,当人们在微信中打开它的时候,就是一个静态页的打开时间。

happypeter commented 6 years ago

静态页面中添加一个动态服务也是完全没有问题的,类似这里的评论功能:http://happypeter.github.io/right-or-wrong.html

happypeter commented 6 years ago

https://www.youtube.com/watch?v=uWTMEDEPw8c

使用 https://github.com/netlify/gotrue 这样的项目来实现认证
happypeter commented 6 years ago

这些都是非常诱人的目标,暂时实现起来还是有困难,暂时放一放。

还是先使用 mongodb/createReactApp 思路来实现好奇猫。