Files
ClassContent/历届学生/front-end-team-11/项目开发/上课项目/nodejs博客/笔记.txt
2024-09-27 02:06:13 +08:00

56 lines
1.1 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

服务端渲染
ajax 前端调接口,渲染页面,后端给数据
博客前端官网:jq+js
vue.js + ssr框架(nuxt.js) + vite
博客管理后台:vue.js 3.0 + ElementUI + typescript + tsx(jsx) + vite
博客app:uniapp 写,小程序版本
后端
数据库:mysql
mysql 底层服务
nodejs提供接口服务:
官网接口 xxxx/website
后台的接口 xxxx/admin
技术:nodejs + express(nest.js ) + TypeORM
+ Typescript + class-validator + TypeDi
Typescript ts:强类型的语言
Typescript 前端主流
vue this
vue Typescript 重构了一个版本
react Typescript
javascript:弱类型的编程语言
Vue 多页面(多端)开发
xxx.com/about 博客官网
xxx.com/admin/xxx 管理后台
权限控制:
用户在 管理后台 登录的时候:
接口会返回token (本地),和 菜单的数组 (vuex pinia)
1 菜单数组 渲染到页面
2 利用菜单数组 动态生成 路由配置文件
addRoute
oss-cn-shanghai.aliyuncs.com