# Use and adapt w-ai.online

Use the documented interfaces and source layout for **w-ai.online**. The sections below retain the README’s examples and configuration details.

## Project Structure

```
├── src/
│   ├── app/              # Next.js App Router pages
│   │   ├── (dashboard)/  # Dashboard routes (chat, bookings, customers, etc.)
│   │   └── (site)/       # Public site pages
│   ├── components/       # React components
│   │   ├── ui/           # Shadcn UI components
│   │   └── dashboard/    # Dashboard-specific components
│   └── hooks/            # Custom React hooks
├── convex/               # Convex backend
│   ├── schema.ts         # Database schema
│   ├── chat.ts           # Chat queries/mutations
│   ├── bookings.ts       # Booking system
│   ├── contacts.ts       # Customer management
│   └── agent.ts          # AI agent logic
└── public/               # Static assets
```

---

## Commands in the root manifest

The captured [package.json](https://github.com/Up-to-code/w-ai.online/blob/HEAD/package.json) declares the following scripts. Run them from the directory containing that manifest.

| Command | Script |
| --- | --- |
| `npm run dev` | `next dev` |
| `npm run build` | `npx convex codegen && next build` |
| `npm run start` | `next start` |
| `npm run lint` | `eslint` |
| `npm run test` | `vitest` |

## Troubleshoot a local change

1. Reproduce the smallest example from the [quick-start guide](/docs/up-to-code-w-ai.online/quick-start-guide).
2. Compare required configuration and dependency versions with the README.
3. Check the linked issue tracker for the same error. Include the command, runtime version, and relevant error when reporting a problem; omit credentials.

## Source and help

- [GitHub repository](https://github.com/Up-to-code/w-ai.online)
- [Original README](https://github.com/Up-to-code/w-ai.online/blob/main/README.md)
- [Issues and existing reports](https://github.com/Up-to-code/w-ai.online/issues)
- [Open the project website](https://w-ai-online.vercel.app)
