-
Create a frontend interface to show available time slots to users.
-
As a user, I want to book an appointment during an available time slot, so that I can receive services.
-
Integrate the frontend interface with the backend API to store time slots in the database.
-
Develop API endpoints to handle CRUD operations for time slots.
-
### 检查清单
- [x] 我已阅读 Snap Hutao 文档中的[常见问题](https://hut.ao/advanced/FAQ.html)和[常见程序异常](https://hut.ao/advanced/exceptions.html),我的问题没有在文档中得到解答
- [x] 我知道[文档站](https://hut.ao/zh/menu.html)的导航栏中有**搜索功能**,…
-
Create a frontend interface for admins to add, edit, and delete available time slots.
-
As an admin, I want to set my available time slots, so that customers can book appointments during those times.
-
Develop an admin dashboard to view and modify user roles.
-
Set up middleware to check user roles and restrict access to certain routes.
-
Modify the user database schema to include a role attribute.