Roo-Code/apps/web
Roo Code 8860ceba71 Convert useEffect-based task loading to React Query
- Replace useEffect data loading with useQuery hook in Usage.tsx
- Provides better caching, error handling, and loading states
- Simplifies modal state management logic
- Addresses PR comment requesting React Query usage for data loading

Fixes: Use React Query instead of useEffect for data loading
2025-07-07 23:30:21 +00:00
..
public Monorepo + (disabled) agent authentication mechanism (#106) 2025-06-19 12:19:50 -07:00
src Convert useEffect-based task loading to React Query 2025-07-07 23:30:21 +00:00
.env Prototype of a Roomote tab (#147) 2025-07-07 10:52:18 -07:00
.env.production Prototype of a Roomote tab (#147) 2025-07-07 10:52:18 -07:00
.gitignore Add roomote to the monorepo (#109) 2025-06-20 09:41:51 -07:00
components.json Monorepo + (disabled) agent authentication mechanism (#106) 2025-06-19 12:19:50 -07:00
eslint.config.mjs Add roomote to the monorepo (#109) 2025-06-20 09:41:51 -07:00
next-env.d.ts Monorepo + (disabled) agent authentication mechanism (#106) 2025-06-19 12:19:50 -07:00
next.config.ts Encrypt and store secret ENV vars in the repo with dotenvx (#114) 2025-06-26 10:54:39 -07:00
package.json Prototype of a Roomote tab (#147) 2025-07-07 10:52:18 -07:00
postcss.config.mjs Monorepo + (disabled) agent authentication mechanism (#106) 2025-06-19 12:19:50 -07:00
README.md Encrypt and store secret ENV vars in the repo with dotenvx (#114) 2025-06-26 10:54:39 -07:00
tsconfig.json Add roomote to the monorepo (#109) 2025-06-20 09:41:51 -07:00
vitest.config.ts Add roomote to the monorepo (#109) 2025-06-20 09:41:51 -07:00
vitest.setup.client.ts Add syntax highlighting (#178) 2025-07-01 15:19:35 -04:00
vitest.setup.server.ts Unify roomote and cloud databases (#112) 2025-06-20 16:17:35 -07:00

Roo Code Cloud

Run Locally

Configure Database

Install Docker Desktop for your platform.

Once installed, you can pull down a Postgres Docker image and run it:

docker compose up

Postgres will be running locally on port 5432 username postgres and password password.

Install Packages

First install pnpm using these instructions. If you're on MacOS the easiest option is to use Homebrew:

brew install pnpm

You can now install the required packages with:

pnpm install

Make sure your database is migrated:

pnpm db:migrate

If everything is working as expected you should be able to run any of the following without errors:

pnpm lint
pnpm check-types
pnpm test

Start Development Server

Create an .env.local file and fill out the required secrets, including:

  • CLICKHOUSE_URL
  • CLICKHOUSE_PASSWORD
  • CLERK_SECRET_KEY

You can now start the Next.js app with:

pnpm dev

Your server will be running at localhost:3000