A collaborative web application with AI integration powered by Gemini API and Supabase.
- Real-time collaboration
- AI-powered chat and assistance
- Space management
- Document editing
- Theme support
- Copy
.env.exampleto.env - Fill in your environment variables:
# Gemini API Key
VITE_GEMINI_API_KEY=AIzaSyA27N-WdSixkBZRJl43BZtH6HTtR1BaCoo
# Supabase Configuration
VITE_SUPABASE_URL=your_supabase_url_here
VITE_SUPABASE_ANON_KEY=your_supabase_anon_key_here- Install dependencies:
npm install- Start development server:
npm run dev-
Push your code to GitHub
-
Connect your repository to Vercel
-
Set environment variables in Vercel dashboard:
VITE_GEMINI_API_KEY:AIzaSyA27N-WdSixkBZRJl43BZtH6HTtR1BaCooVITE_SUPABASE_URL: Your Supabase URLVITE_SUPABASE_ANON_KEY: Your Supabase anon key
-
Deploy - Vercel will automatically build and deploy
If Git is not installed, install it first:
- Windows: Download from git-scm.com
- macOS:
brew install git - Linux:
sudo apt-get install git
Then run:
git init
git add .
git commit -m "Initial commit with secure API key setup"
git branch -M main
git remote add origin <your-github-repo-url>
git push -u origin main- API keys are stored in environment variables
.envfile is included in.gitignoreto prevent accidental exposure- Use
.env.exampleas a template for required variables - Never commit actual API keys to version control
- Frontend: HTML, CSS, JavaScript (ES6+)
- Build Tool: Vite
- Database: Supabase
- AI: Google Gemini API
- Deployment: Vercel