i0am0arunava care .cursorrules file for TypeScript

Care is a React Typescript Project, built with Vite and styled with TailwindCSS.

Care uses a Plugin Architecture. Apps are installed in /apps. 

Care uses a custom useQuery hook to fetch data from the API. APIs are defined in the api.tsx file

Here's an example of how to use the useQuery hook to fetch data from the API:

```
useQuery from "@/common/hooks/useQuery";
const { data, loading, error } = useQuery(routes.getFacilityUsers, {
  facility_id: "1",
});

request from "@/common/utils/request";
const { res } = await request(routes.partialUpdateAsset, {
  pathParams: { external_id: assetId },
  body: data,
});
```



css
dockerfile
html
javascript
react
shell
tailwindcss
typescript
+1 more

First Time Repository

TypeScript

Languages:

CSS: 29.9KB
Dockerfile: 0.6KB
HTML: 2.7KB
JavaScript: 13.4KB
Shell: 0.1KB
TypeScript: 3025.7KB
Created: 10/27/2024
Updated: 10/27/2024

All Repositories (1)