Automatically synced with your v0.dev deployments
GreenCart is a sustainable shopping platform that helps users make eco-conscious purchasing decisions through AI-powered product analysis, group shopping features, and a marketplace for pre-loved eco-friendly items.
- 🛍️ Eco-Friendly Product Catalog - Curated selection of sustainable products
- 🤖 AI-Powered Analysis - Detailed sustainability analysis using Google Gemini AI
- 👥 Group Shopping - Reduce carbon footprint through community orders
- ♻️ EcoMarketplace - Buy and sell pre-loved eco-friendly items
- 📊 User Dashboard - Track your environmental impact and rewards
- 🌱 Sustainability Scoring - AI-generated eco-friendliness ratings
Create a .env.local file in the root directory:
```env GEMINI_API_KEY=your_google_gemini_api_key_here ```
- Go to Google AI Studio
- Sign in with your Google account
- Click "Create API Key"
- Copy the generated key (starts with "AIzaSy")
- Add it to your
.env.localfile
- ✅ API keys are stored server-side only - Never exposed to client
- ✅ Environment variables are gitignored - Safe for public repositories
- ✅ Secure error handling - No sensitive information leaked in errors
- ✅ Server-side AI processing - All API calls happen on the backend
Your project is live at:
https://vercel.com/ssaranjeet227-gmailcoms-projects/v0-general-inquiry
When deploying to Vercel, make sure to add the environment variable:
- Go to your Vercel project settings
- Navigate to "Environment Variables"
- Add
GEMINI_API_KEYwith your API key value - Redeploy the application
```bash
npm install
npm run dev
npm run build ```
Continue building your app on:
https://v0.dev/chat/projects/WZEYkyuCZ6O
- Create and modify your project using v0.dev
- Deploy your chats from the v0 interface
- Changes are automatically pushed to this repository
- Vercel deploys the latest version from this repository
- Never commit
.env.localor any files containing API keys - The
.gitignorefile is configured to exclude all environment files - API keys are only accessible on the server-side for security
- All AI analysis happens securely on the backend
When contributing to this project:
- Never include API keys in your commits
- Use environment variables for all sensitive configuration
- Test the application without committing sensitive data
- Follow the existing security patterns