A community-driven platform for discovering and reviewing work-friendly coffee shops, optimized for remote workers, digital nomads, and tech professionals.
- AI-Powered Search: Natural language search with location-aware results
- Work-Focused Filters: Find cafΓ©s by Wi-Fi quality, power outlets, noise level, and work environment
- Geographic Intelligence: Smart location parsing to distinguish between business names and geographic locations
- Real-time Data: Opening hours, ratings, and amenities from Google Places API
- Work Environment Reviews: Rate Wi-Fi speed, power outlet availability, noise level, and work-friendliness
- Community Validation: User-contributed data on work amenities
- Quick Feedback System: Streamlined review process for busy professionals
- Responsive Design: Mobile-first approach with modern UI
- Real-time Updates: Live search results and user feedback
- Offline-Ready: Progressive Web App capabilities
- Authentication: Secure user accounts with Supabase Auth
- Node.js 18+
- npm or yarn
- Supabase account
- Google Maps API key
- Google Gemini API key
Create a .env file in the root directory:
VITE_GOOGLE_MAPS_API_KEY=your_google_maps_api_key
VITE_GEMINI_API_KEY=your_gemini_api_key
VITE_SUPABASE_URL=your_supabase_url
VITE_SUPABASE_ANON_KEY=your_supabase_anon_key- Clone the repository:
git clone https://github.com/yourusername/coffeelover.git
cd coffeelover- Install dependencies:
npm install- Start the development server:
npm run dev- Open http://localhost:5173 in your browser
- React 18 with TypeScript
- Vite for fast development and building
- Tailwind CSS for styling
- React Hot Toast for notifications
- Lucide React for icons
- Supabase for database and authentication
- Google Places API for location data
- Google Gemini AI for natural language processing
- Netlify Functions for API proxying
Key tables:
locations- Coffee shop datawork_feedback- Work-friendly reviewslocation_wifi_details- Wi-Fi informationlocation_charger_details- Power outlet datausers- User accountsfavorites- User bookmarks
The AI understands work-related queries like:
- "Quiet coffee shops with power outlets near me"
- "Work-friendly cafΓ©s with fast WiFi in Manhattan"
- "24-hour coffee shops for late night work"
- "Affordable cafΓ©s for studying in Brooklyn"
- Wi-Fi Speed: User-tested connection quality (1-5 scale)
- Power Outlets: Availability and accessibility (1-5 scale)
- Noise Level: Work environment assessment (1-5 scale)
- Work-Friendliness: Overall suitability for productivity (1-5 scale)
- Coffee Quality: Beverage rating (1-5 scale)
- Opening Hours: Community-validated hours
- Price Level: Cost assessment for budget-conscious users
- Quick Review Widget: Streamlined feedback collection
- Work Environment Ratings: Specific metrics for remote workers
- Community Validation: Crowd-sourced accuracy improvements
- Reward System: Recognition for active contributors (planned)
npm run dev- Start development servernpm run build- Build for productionnpm run preview- Preview production buildnpm run lint- Run ESLintnpm test- Run tests
src/
βββ components/ # React components
β βββ LandingPage.tsx # Main landing page
β βββ Map.tsx # Interactive map
β βββ Sidebar.tsx # Results sidebar
β βββ LocationDetails.tsx # CafΓ© detail modal
β βββ WorkFeedbackWidget.tsx # UGC collection
βββ hooks/ # Custom React hooks
β βββ useCoffeeSearch.tsx # Main search logic
βββ lib/ # Utilities and types
β βββ types.ts # TypeScript definitions
β βββ supabaseClient.ts # Database client
β βββ database.types.ts # Generated DB types
βββ App.tsx # Main application component
- Enhanced Location Parsing: Better distinction between business names and geographic locations
- Work-Focused Search: Improved AI prompts for work-related queries
- UGC Collection: New WorkFeedbackWidget for community data
- Search Specificity: Refined Google Places API queries for better results
- User Experience: Updated copy and hints for work-focused positioning
The app is configured for Netlify with:
- Automatic builds from Git
- Serverless functions for API proxying
- Environment variable management
- Custom redirects for SPA routing
- Enable RLS (Row Level Security) in Supabase
- Set up proper CORS policies
- Configure rate limiting for API endpoints
- Implement caching strategies
- Monitor API usage and costs
We welcome contributions! Please see our Contributing Guidelines for details.
- Mobile app development
- Advanced filtering algorithms
- Machine learning for recommendation engine
- Integration with coworking space APIs
- Accessibility improvements
This project is licensed under the MIT License - see the LICENSE file for details.
- Google Places API for location data
- Supabase for backend infrastructure
- The remote work community for inspiration
- Contributors and beta testers
Built for the remote work community π π»β