-
REST api设计 route ---> controller ---> service ---> db 路由层:只负责处理请求路径 控制层:只处理response 服务层:只处理业务逻辑,比如身份认证可放在这里处理 数据层:只处理db inspired by https://www.freecodecamp.org/chinese/news/rest-api-design-best-practices-build-a-rest-api/
-
数据库mongoose
-
网络请求axios
-
身份认证jsonwebtoken
-
Notifications
You must be signed in to change notification settings - Fork 0
xiatian12345/MyBlogBackend
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published