π Revolutionizing the cocktail industry with wellness-focused, natural ingredients and mindful drinking experiences.
Coco Tails is a premium healthy cocktails service that combines luxurious design with wellness-first principles. Our platform offers:
- Interactive Cocktail Builder with health metrics tracking
- Premium Ingredient Glossary with nutritional benefits
- Virtual Mixology Classes with world-class experts
- Subscription Service for curated wellness ingredients
- Health-Conscious Community for mindful drinking enthusiasts
- Voice: Sophisticated, health-conscious, celebratory, knowledgeable
- Personality: Premium wellness brand meets craft cocktail expertise
- Values: Health-first, sustainability, quality ingredients, mindful consumption
- Target Audience: Health-conscious millennials and Gen-Z, wellness enthusiasts, premium cocktail lovers
- Framework: React 18+ with Vite for fast development
- Styling: Tailwind CSS with custom wellness-inspired color palette
- Animations: Framer Motion for smooth, performant animations
- State Management: Zustand for global state
- HTTP Client: Axios for API communication
- Routing: React Router for SPA navigation
- Framework: Flask with Flask-RESTful for API endpoints
- Database: SQLAlchemy ORM with SQLite (dev) / PostgreSQL (prod)
- Authentication: Flask-JWT-Extended for user authentication
- API Documentation: Flask-RESTX with Swagger UI
- CORS: Flask-CORS for cross-origin requests
- Validation: Marshmallow for request/response serialization
SOBRE is configured for easy deployment on Vercel with the following setup:
- Frontend: React + Vite application
- Backend: Python Flask API
- Automatic routing between frontend and backend
-
Prerequisites:
- Node.js 16+ and npm
- Python 3.9+
- Vercel CLI (
npm install -g vercel)
-
Environment Variables: Create a
.envfile in the root directory with the following variables:# Frontend VITE_API_URL=/api # Backend FLASK_ENV=production DATABASE_URL=your_database_url SECRET_KEY=your_secret_key -
Deployment Options:
Option A: Using Vercel Dashboard
- Push your code to a GitHub, GitLab, or Bitbucket repository
- Sign in to Vercel
- Click "Add New..." β "Project"
- Import your repository
- Configure the project:
- Framework Preset: Other (Custom)
- Build Command:
node vercel-build.js - Output Directory:
.vercel/output/static - Install Command:
npm install
- Add the environment variables from your
.envfile - Click "Deploy"
Option B: Using Vercel CLI
# Install Vercel CLI if not already installed npm install -g vercel # Login to Vercel vercel login # Deploy vercel --prod
-
Post-Deployment:
- Set up a custom domain in the Vercel dashboard
- Configure environment variables for production
- Enable automatic deployments for your main branch
For more information, refer to Vercel's documentation.
- Node.js 16+ and npm
- Python 3.8+
- Git
# Navigate to frontend directory
cd frontend
# Install dependencies
npm install
# Start development server
npm run devThe frontend will be available at http://localhost:3000
# Navigate to backend directory
cd backend
# Create virtual environment
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
# Install dependencies
pip install -r requirements.txt
# Set up environment variables
cp .env.example .env
# Edit .env with your configuration
# Initialize database
flask init-db
# Seed with sample data
flask seed-db
# Start development server
python app.pyThe backend API will be available at http://localhost:5000
API documentation at http://localhost:5000/api/docs/
coco-tails/
βββ frontend/ # React + Vite frontend
β βββ src/
β β βββ components/ # Reusable UI components
β β βββ pages/ # Page components
β β βββ styles/ # Global styles and Tailwind config
β β βββ assets/ # Images, icons, videos
β βββ public/ # Static assets
β βββ package.json # Frontend dependencies
β
βββ backend/ # Flask backend
β βββ app/
β β βββ models/ # SQLAlchemy models
β β βββ routes/ # API route handlers
β β βββ __init__.py # Flask app factory
β βββ requirements.txt # Python dependencies
β βββ config.py # Configuration settings
β βββ app.py # Main application entry point
β
βββ README.md # Project documentation
- Animated liquid effects simulating cocktail mixing
- Interactive ingredient particles floating across screen
- Gradient backgrounds shifting between wellness colors
- Smooth scroll-triggered animations for premium feel
- Mouse-following interactive elements
- User Authentication with JWT tokens
- Cocktail Database with detailed nutritional information
- Ingredient Glossary with health benefits and sourcing
- Virtual Classes booking and management system
- Subscription Plans with different tiers
- User Profiles with preferences and favorites
- Color Palette: Vibrant greens, sophisticated golds, deep purples
- Typography: Modern clean fonts with elegant serif accents
- Components: Premium cards, glass morphism effects, gradient buttons
- Animations: Floating particles, liquid blobs, smooth transitions
POST /api/auth/register- User registrationPOST /api/auth/login- User loginPOST /api/auth/refresh- Refresh access tokenGET /api/auth/me- Get current user profile
GET /api/cocktails/- List cocktails with filteringGET /api/cocktails/{id}- Get cocktail detailsGET /api/cocktails/featured- Get featured cocktailsPOST /api/cocktails/{id}/reviews- Create cocktail reviewPOST /api/cocktails/{id}/favorite- Toggle favorite
GET /api/ingredients/- List ingredientsGET /api/ingredients/{id}- Get ingredient detailsGET /api/ingredients/categories- Get categories
GET /api/classes/- List upcoming classesGET /api/classes/{id}- Get class detailsPOST /api/classes/{id}/book- Book a classGET /api/classes/my-bookings- Get user bookings
GET /api/subscriptions/- Get user subscriptionsGET /api/subscriptions/plans- Get available plans
GET /api/users/profile- Get user profilePUT /api/users/profile- Update user profileGET /api/users/favorites- Get favorite cocktailsGET /api/users/dashboard- Get dashboard data
- Detailed nutritional information for every cocktail
- Health benefits tracking and recommendations
- Dietary preference filtering (vegan, keto, gluten-free, etc.)
- Wellness category organization (detox, immunity, energy, etc.)
-
Wellness Explorer ($29.99/month)
- 3 premium ingredient deliveries
- 5 exclusive recipes
- Basic nutritional guidance
-
Mixology Master ($59.99/month)
- 6 premium ingredient deliveries
- Unlimited recipes
- 2 virtual classes per month
- Personal nutrition consultation
-
Wellness Connoisseur ($99.99/month)
- Unlimited ingredient deliveries
- All premium content
- Unlimited virtual classes
- Personal mixologist consultation
- Live interactive sessions with expert mixologists
- Beginner to advanced difficulty levels
- Ingredient education and health benefits
- Recipe customization based on dietary needs
- Recording access for premium subscribers
- JWT-based authentication with refresh tokens
- Password hashing with bcrypt
- Input validation and sanitization
- CORS configuration for secure API access
- Environment-based configuration management
- Mobile-first responsive design
- Optimized for tablets and desktop
- Touch-friendly interactions
- Fast loading with optimized animations
- Accessible design following WCAG guidelines
cd frontend
npm run build
# Deploy dist/ folder to your hosting servicecd backend
# Set FLASK_CONFIG=production
# Configure production database
# Deploy using gunicorn or similar WSGI server
gunicorn -w 4 -b 0.0.0.0:5000 app:app- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- Design inspiration from premium wellness brands
- Health and nutrition data from certified sources
- Cocktail recipes developed by professional mixologists
- Community feedback from wellness enthusiasts
Built with β€οΈ for the health-conscious cocktail community