Introduce
The project use typeorm+mysql+nodejs+express
build a blog server, my original intention is learn interest web server knowledge. so, step by step to achieve it. Verify login user of use JWT validate method.
-
article
- 保存,如果存在id则保存,如果不存在则新增 (新增、编辑)
- 删除,根据id删除信息
- 设置文件夹
- 设置文集
- 设置是否发布状态
-
Folder
- 新增
- 修改文集名词
- 管理关联的文集
- 删除
-
user
- token cache
- 查询用户信息
- 鉴权(jwt)