Note: This project is actively under development. Features are being added incrementally with a focus on security, accessibility, and performance.
AfyaGo is a modern online pharmacy platform built for the Kenyan market. It provides a secure and convenient way to purchase medications, manage prescriptions, and access healthcare products online.
- 🔒 Secure prescription management
- 💊 Product catalog with medication details
- 🤖 AI-powered medical assistant (MedSymBot)
- 🛒 Smart shopping cart with prescription validation
- 📊 Product comparison tools
- 🚚 Delivery tracking
- 💳 Secure payment processing
- Frontend: Next.js 13+ (App Router)
- Styling: Tailwind CSS
- UI Components: Radix UI
- State Management: Context API
- Form Handling: React Hook Form + Zod
- Testing: Jest + React Testing Library
- Security:
- Content Security Policy (CSP)
- Rate limiting
- Input validation
- Secure file uploads
- Clone the repository
git clone https://github.com/yourusername/afya-go.git- Install dependencies
npm install- Copy environment variables
cp .env.example .env.local- Start development server
npm run dev/app- Next.js 13+ app router pages/components- Reusable React components/context- React Context providers/services- Business logic and API services/utils- Utility functions and helpers/types- TypeScript type definitions
- CSP headers configuration
- Rate limiting on API routes
- Secure file upload validation
- Input sanitization
- Error boundaries
- Structured logging
- ✅ Base application structure
- ✅ Core UI components
- ✅ Authentication system
- ✅ Product catalog
- ✅ Shopping cart
- 🚧 Prescription management system
- 🚧 Payment integration
- 🚧 Admin dashboard
- 🚧 Order management
- 📋 Prescription refill automation
- 📊 Analytics dashboard
- 🔔 Push notifications
We welcome contributions! Please read our contributing guidelines before submitting pull requests.
This project is licensed under the MIT License - see the LICENSE file for details.
For support, please email timmaina64@gmail.com or raise an issue in the repository.
Made for improving healthcare accessibility in Kenya