From 61d04a662f4bddd6974f02438239a03d596f8a93 Mon Sep 17 00:00:00 2001 From: MOHAN Date: Wed, 1 Jul 2026 17:08:00 +0530 Subject: [PATCH] first commit --- .gitignore | 7 +++++++ README.md | 33 +++++++++++++++++++++++++++++++++ 2 files changed, 40 insertions(+) create mode 100644 .gitignore create mode 100644 README.md diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..67337df --- /dev/null +++ b/.gitignore @@ -0,0 +1,7 @@ +node_modules/ +dist/ +.env +.env.local +*.local +.DS_Store +*.log diff --git a/README.md b/README.md new file mode 100644 index 0000000..0f33dc0 --- /dev/null +++ b/README.md @@ -0,0 +1,33 @@ +# OdooMCP Cloud — Frontend + +Vite + React + TypeScript dashboard for the multi-tenant Odoo MCP server. + +## Stack + +- Vite 5 + React 18 + TypeScript +- react-router-dom v6 for client-side routing +- Tailwind CSS +- recharts for analytics charts + +## Development + +```bash +npm install +npm run dev # http://localhost:3000 +``` + +Requires the backend (`Multi-Tenant-ODOO-MCP`) running and `.env` pointing `VITE_API_URL` at it. + +## Build + +```bash +npm run build # type-checks then builds to dist/ +npm run preview # serve the production build locally +``` + +## Structure + +- `src/pages/` — route components (landing, auth, `dashboard/`, `admin/`) +- `src/components/landing/` — marketing page sections +- `src/lib/api.ts` — typed API client + localStorage session helpers +- `src/App.tsx` — route tree