Unclassified
IntegrateWise - Unified Vite App
Tier C — Historical. This document is a point-in-time snapshot preserved for reference. For current architecture, see CANONICAL_PLATFORM_ARCHITECTURE.md.
✅ Status: READY FOR DEPLOYMENT
What Was Built
Unified Vite Application
Location: integratewise-complete/apps/web-vite/
Combines Marketing Site + App Dashboard in a single clean codebase.
Project Structure
apps/web-vite/
├── src/
│ ├── components/
│ │ ├── app/ # Dashboard Components
│ │ │ ├── AppLayout.tsx # App shell with sidebar
│ │ │ ├── AppSidebar.tsx # Navigation sidebar
│ │ │ ├── AppHeader.tsx # Top header with search
│ │ │ ├── DashboardPage.tsx # Main dashboard
│ │ │ ├── AccountsPage.tsx # Account management
│ │ │ ├── TasksPage.tsx # Task list
│ │ │ ├── CalendarPage.tsx # Calendar view
│ │ │ ├── IntelligencePage.tsx # AI insights
│ │ │ └── SettingsPage.tsx # Settings & integrations
│ │ ├── pages/ # Marketing Pages
│ │ │ ├── HomePage.tsx
│ │ │ ├── PricingPage.tsx
│ │ │ ├── SecurityPage.tsx
│ │ │ ├── StoryPage.tsx
│ │ │ ├── IntegrationsPage.tsx
│ │ │ └── LoginPage.tsx
│ │ ├── workspace/ # Workspace Screen (Figma)
│ │ ├── ui/ # shadcn/ui components (25+)
│ │ └── motion/ # Animation components
│ ├── lib/
│ │ └── api.ts # API service layer
│ ├── routes.ts # React Router config
│ ├── main.tsx # App entry
│ └── index.css # Tailwind v4 styles
├── dist/ # Build output
├── package.json
├── vite.config.ts
├── wrangler.toml # Cloudflare Pages config
└── README.md
Routes
Marketing Site (Public)
| Route | Page |
|---|---|
/ | Home |
/pricing | Pricing tiers |
/security | Security features |
/story | About us |
/integrations | Integrations |
/login | Login |
App Dashboard (Authenticated)
| Route | Page |
|---|---|
/app | Dashboard (default) |
/app/dashboard | Main workspace |
/app/accounts | Account management |
/app/tasks | Task list |
/app/calendar | Calendar view |
/app/intelligence | AI insights |
/app/settings | Settings |
Tech Stack
| Layer | Technology |
|---|---|
| Framework | Vite + React 18 |
| Routing | React Router v7 |
| Styling | Tailwind CSS v4 |
| Components | shadcn/ui |
| Animation | Framer Motion |
| Icons | Lucide React |
| Charts | Recharts |
| Forms | React Hook Form |
Build Status
✅ npm install - SUCCESS
✅ npm run build - SUCCESS
✅ Output: dist/ folder ready
⚠️ Chunk size warning (707KB) - acceptable for now
Deployment
Cloudflare Pages
cd apps/web-vite
# Build
npm run build
# Deploy
wrangler pages deploy dist
Environment Variables
Create .env.local:
VITE_SUPABASE_URL=https://your-project.supabase.co
VITE_SUPABASE_ANON_KEY=your-anon-key
VITE_API_URL=https://api.integratewise.com
Why Vite vs Next.js?
| Aspect | Next.js (Old) | Vite (New) |
|---|---|---|
| Dev Speed | Good | ⚡ Faster |
| Build Output | Complex | Clean |
| Styling | Tailwind v3 | Tailwind v4 |
| Visual Polish | Standard | Premium (Figma) |
| Complexity | High (App Router) | Low (React Router) |
| Mental Model | Multiple concepts | Simple SPA |
Key Features
Marketing
- Anti-gravity background animation
- Responsive design
- 5 marketing pages
- Professional polish
App Dashboard
- Role-based sidebar navigation
- Real-time data display
- AI insights feed
- Integration management
- Account health tracking
- Task management
- Calendar view
Next Steps
-
Set environment variables
wrangler secret put VITE_SUPABASE_URL wrangler secret put VITE_SUPABASE_ANON_KEY -
Deploy to Cloudflare Pages
wrangler pages deploy dist -
Connect to backend
- Wire API calls to L3 services
- Add authentication
- Enable real-time updates
-
Test end-to-end
- Marketing → Login → Dashboard flow
- All routes working
- API integration
Timeline
| Phase | Status |
|---|---|
| Vite app setup | ✅ DONE |
| Figma integration | ✅ DONE |
| Marketing pages | ✅ DONE |
| Dashboard pages | ✅ DONE |
| Build & test | ✅ DONE |
| Deploy | ⏳ READY |
| Backend wiring | ⏳ PENDING |
Commands
# Development
cd apps/web-vite
npm install
npm run dev
# Production build
npm run build
# Deploy
wrangler pages deploy dist
The unified Vite app is ready for deployment! 🚀