AYSENT is a modern, high-performance website for PDLC smart dimming film products. Built with React + TypeScript + Vite + TailwindCSS on the frontend and Express + Supabase on the backend.
# Frontend
cd src && npm install
# Backend
cd server && npm install
Copy .env.example to .env and fill in your Supabase credentials:
cp .env.example .env
Run the SQL files in supabase/tables/ in your Supabase SQL editor.
# Frontend (port 5173)
cd src && npm run dev
# Backend (port 9000)
cd server && npm run build && node dist/index.js
cd src && npm run build
├── src/ # Frontend React app
│ ├── components/ # UI components
│ ├── admin/ # Admin dashboard pages
│ ├── pages/ # Public pages
│ └── lib/ # Utilities
├── server/ # Backend Express API
│ ├── routes/ # API routes
│ └── official-apis/ # DingTalk integration
├── supabase/ # Database schema & migrations
└── public/ # Static assets
cd src && npm run buildsrc/distcd src && npm run buildcd server && npm run buildcd server && node dist/index.js© 2026 AYSENT. All rights reserved.