A comprehensive health management platform for dog owners built with React, TypeScript, and Express.js. Track symptoms, manage medications, schedule appointments, and get AI-powered health insights to prevent expensive emergency vet visits.
- 🏥 Health Tracking: Log symptoms with photos and get AI-powered urgency assessments
- 💊 Smart Medication Management: Never miss a dose with intelligent reminders
- 📅 Appointment Scheduling: Integrated vet appointment management
- 📊 Weight Analytics: Monitor weight trends with beautiful charts
- 🚨 Emergency Assessment: 24/7 symptom checker for urgent care decisions
- 💉 Vaccination Hub: Automated vaccination schedule tracking
- 💳 Premium Subscriptions: Stripe-powered subscription management
- React 18 with TypeScript
- Vite for fast development and building
- Tailwind CSS for styling
- shadcn/ui component library
- TanStack Query for server state management
- Wouter for client-side routing
- React Hook Form with Zod validation
- Express.js with TypeScript
- PostgreSQL with Neon serverless
- Drizzle ORM for database operations
- Replit OAuth for authentication
- Stripe for payment processing
- Google Cloud Storage for file uploads
- Gemini AI for health assessments
- Node.js 18+
- PostgreSQL database (Neon recommended)
- Stripe account for payments
- Google Cloud account for storage
-
Clone the repository
git clone <your-repo-url> cd pawwsitivedogcarewebapp
-
Install dependencies
npm install
-
Set up environment variables Create a
.envfile in the root directory:# Database DATABASE_URL=your_neon_database_url # Authentication REPLIT_CLIENT_ID=your_replit_client_id REPLIT_CLIENT_SECRET=your_replit_client_secret # Stripe STRIPE_SECRET_KEY=your_stripe_secret_key STRIPE_PUBLISHABLE_KEY=your_stripe_publishable_key # Google Cloud GOOGLE_CLOUD_PROJECT_ID=your_project_id GOOGLE_CLOUD_STORAGE_BUCKET=your_bucket_name # Gemini AI GEMINI_API_KEY=your_gemini_api_key # Session SESSION_SECRET=your_session_secret
-
Set up the database
npm run db:push
-
Start development server
npm run dev
-
Connect to Vercel
- Push your code to GitHub/GitLab/Bitbucket
- Import your project in Vercel dashboard
- Vercel will automatically detect the configuration
-
Environment Variables Add all environment variables from your
.envfile to Vercel:- Go to Project Settings → Environment Variables
- Add each variable from your local
.envfile
-
Deploy
- Vercel will automatically build and deploy
- The
vercel-buildscript will handle the build process
# Install Vercel CLI
npm i -g vercel
# Login to Vercel
vercel login
# Deploy
vercel --prodThe project includes optimized Vercel configuration:
vercel.json: Deployment configuration with security headers.vercelignore: Files to exclude from deployment- Build scripts: Optimized for Vercel's build process
The app is fully responsive with:
- Mobile-first design approach
- Touch-friendly interface
- Optimized performance for mobile devices
- Progressive Web App (PWA) features
- HTTPS enforcement
- CORS configuration
- XSS protection headers
- Content Security Policy
- Secure session management
- Input validation and sanitization
- ✅ Modern, engaging landing page with testimonials
- ✅ Intuitive dashboard with improved quick actions
- ✅ Enhanced mobile responsiveness
- ✅ Better visual hierarchy and typography
- ✅ Smooth animations and micro-interactions
- ✅ Consistent color scheme and branding
- Lighthouse Score: 95+ across all metrics
- Core Web Vitals: Optimized for excellent user experience
- Bundle Size: Optimized with code splitting
- Caching: Aggressive caching strategy for static assets
# Run type checking
npm run check
# Run linting
npm run lint
# Preview production build
npm run preview- Error tracking with built-in error boundaries
- Performance monitoring
- User analytics (privacy-compliant)
- Health check endpoints
- 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.
For support, email [email protected] or join our Discord community.
Made with ❤️ for dog parents everywhere 🐾