A modern pharmacy inventory management platform built with React and Supabase.
- Real-time stock tracking and inventory management
- Automated alerts for low stock, expiring, and expired medications
- AI-powered shortage predictions and reorder suggestions
- Analytics dashboard with charts and inventory insights
- Multi-step registration with pharmacy profile
- Google OAuth and email/password authentication
- Responsive design with animated login/register experience
- Frontend: React 18, Vite, Tailwind CSS
- Backend: Supabase (PostgreSQL + Auth)
- Charts: Recharts
- Deployment: Vercel
git clone https://github.com/YOUR_USERNAME/smartpharma.git
cd smartpharmanpm installcp .env.example .env.localEdit .env.local and fill in your Supabase project URL and anon key:
VITE_SUPABASE_URL=https://your-project-ref.supabase.co
VITE_SUPABASE_ANON_KEY=your-anon-key-here
Run the SQL migrations in order in your Supabase SQL Editor:
supabase/migrations/001_initial_schema.sqlsupabase/migrations/002_profiles.sql
npm run devThe app is configured for Vercel. Set the same environment variables in your Vercel project dashboard before deploying.
MIT