Rust Web 全栈开发之增加教师管理功能
增加教师管理功能
目标
Actix HTTP Server
Actix App
- Routes
- GET /teachers
- GET / teachers /
- POST /teachers
- PUT /teachers /
- DELETE /teachers /
- Handlers
- get_all_teachers
- get_teacher_details
- post_new_teacher
- update_teacher_details
- delete_teacher
- DB Access
- get_all_teachers_db
- get_teacher_details_db
- post_new_teacher_db
- update_teacher_details_db
- delete_teacher_db
项目目录
ws on main [!?] via
标签:Web,web,db,id,全栈,let,new,teacher,Rust
From: https://www.cnblogs.com/QiaoPengjun/p/17452725.html