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 with β€οΈ for improving healthcare accessibility in Kenya