Skip to content

A scalable online pharmacy platform designed for seamless user experience, featuring product comparison, AI-driven customer support powered by Rasa Open Source, and efficient prescription management. The intelligent chatbot enhances user engagement by providing real-time assistance and personalized recommendations.

Notifications You must be signed in to change notification settings

t1m41n4/MedSymBot

Repository files navigation

AfyaGo - Online Pharmacy Platform πŸ₯

Note: This project is actively under development. Features are being added incrementally with a focus on security, accessibility, and performance.

Overview

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.

Key Features

  • πŸ”’ 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

Tech Stack

  • 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

Getting Started

  1. Clone the repository
git clone https://github.com/yourusername/afya-go.git
  1. Install dependencies
npm install
  1. Copy environment variables
cp .env.example .env.local
  1. Start development server
npm run dev

Architecture

  • /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

Security Features

  • CSP headers configuration
  • Rate limiting on API routes
  • Secure file upload validation
  • Input sanitization
  • Error boundaries
  • Structured logging

Development Status

Completed Features

  • βœ… Base application structure
  • βœ… Core UI components
  • βœ… Authentication system
  • βœ… Product catalog
  • βœ… Shopping cart

In Progress

  • 🚧 Prescription management system
  • 🚧 Payment integration
  • 🚧 Admin dashboard
  • 🚧 Order management

Planned Features

  • πŸ“‹ Prescription refill automation
  • πŸ“Š Analytics dashboard
  • πŸ”” Push notifications

Contributing

We welcome contributions! Please read our contributing guidelines before submitting pull requests.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Support

For support, please email timmaina64@gmail.com or raise an issue in the repository.


Made with ❀️ for improving healthcare accessibility in Kenya

About

A scalable online pharmacy platform designed for seamless user experience, featuring product comparison, AI-driven customer support powered by Rasa Open Source, and efficient prescription management. The intelligent chatbot enhances user engagement by providing real-time assistance and personalized recommendations.

Resources

Stars

Watchers

Forks

Contributors 2

  •  
  •  

Languages