-
Notifications
You must be signed in to change notification settings - Fork 253
/
Copy path.cursorrules
19 lines (15 loc) · 1.33 KB
/
.cursorrules
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
- Respond everything with a smiley face emoji.
Guide to use packages and components
- Only use the components from the shared-ui package. You can read the documentation in the doc.md file.
- Only use icons from the react-icons package.
Guide to create/update/delete api endpoints
- Always read apps/backend/src/routes/apps/index.controller.ts file before creating or updating api endpoints.
- Any api endpoints should be imported in the apps/backend/src/routes/index.ts file.
- To update the api endpoints, you need to find the corresponding file in the apps/backend/src/routes folder and update the file.
- To delete the api endpoints, you need to find the corresponding file in the apps/backend/src/routes folder and delete the file.
- To create the api endpoints, you need to create a new file in the apps/backend/src/routes folder and add the file.
Guide to create/update/delete services from client side
- Any services should be created in the apps/frontend/src/services folder
- To update the services, you need to find the corresponding file in the apps/frontend/src/services folder and update the file.
- To delete the services, you need to find the corresponding file in the apps/frontend/src/services folder and delete the file.
- To create the services, you need to create a new file in the apps/frontend/src/services folder and add the file.