-
Notifications
You must be signed in to change notification settings - Fork 242
/
.cursorrules
16 lines (13 loc) · 1.21 KB
/
.cursorrules
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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
- Any api endpoints should be imported in the packages/be-gateway/src/routes/index.ts file.
- To update the api endpoints, you need to find the corresponding file in the packages/be-gateway/src/routes folder and update the file.
- To delete the api endpoints, you need to find the corresponding file in the packages/be-gateway/src/routes folder and delete the file.
- To create the api endpoints, you need to create a new file in the packages/be-gateway/src/routes folder and add the file.
Guide to create/update/delete services from client side
- Any services should be created in the packages/ui-app/src/services folder
- To update the services, you need to find the corresponding file in the packages/ui-app/src/services folder and update the file.
- To delete the services, you need to find the corresponding file in the packages/ui-app/src/services folder and delete the file.
- To create the services, you need to create a new file in the packages/ui-app/src/services folder and add the file.