Skip to content

brook7G/pharmacy-availability-checker-backend-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pharmacy Availability Checker

Project Overview

The Pharmacy Availability Checker is a modern web application designed to connect users with nearby pharmacies. It enables real-time checking of medicine availability and provides smart chatbot guidance. The system supports both User and Pharmacy interfaces, ensuring a seamless experience for all stakeholders.

Features

User Module

  • Search Nearby Pharmacies: Utilizes GPS/location data to display pharmacies in the vicinity.
  • Medicine Availability Check: Allows users to search for specific medicines and view availability, pricing, and pharmacy details.
  • Chatbot Support (AI Assistant): Assists users in searching for medicines or pharmacies, guides them on platform usage, and sets medicine intake reminders.
  • Reminder & Alarm Setting: Users can set reminders for medicine intake with email or mobile push notifications.
  • User Account (Optional): Users can log in to save favorites, reminder history, and chat preferences.

Pharmacy Module

  • Pharmacy Registration: Pharmacies can register with email/password, physical address (with GPS coordinates), legal pharmacy license upload, business name, and unique Pharmacy ID (auto-generated).
  • Medicine Inventory Dashboard: Pharmacies can upload, update, and manage their medicine stock and pricing.
  • Order Inquiry System: Users can request/order medicines through the platform (optional feature).
  • License & Verification Badge: Verified pharmacies are tagged as “Legally Registered” for user trust.

Advanced Features

  • Multilingual Chatbot: Support for local languages.
  • Dark Mode Accessibility Mode: Enhanced user experience for different preferences.
  • Nearby Open Pharmacies: Displays pharmacies with their open/close status.
  • Emergency Button: Allows users to contact nearby pharmacies in urgent situations.
  • Analytics Dashboard: Provides pharmacy admins with insights on most-searched medicines and demand trends.

Tech Stack

  • Frontend: React.js + TailwindCSS
  • Backend: Node.js
  • Database: goDB
  • Chatbot: Dialogflow, GPT-based API
  • Maps/GPS: Google Maps API / Mapbox
  • Deployment: Vercel or Netlify (frontend) + Railway / Firebase (backend)

Getting Started

To set up the project locally, follow these steps:

  1. Clone the repository:

    git clone <repository-url>
    
  2. Navigate to the backend directory:

    cd pharmacy-availability-checker-backend
    
  3. Install dependencies:

    npm install
    
  4. Create a .env file in the root directory and add your environment variables.

  5. Start the server:

    npm start
    

Testing

To run tests, navigate to the tests directory and execute:

npm test

Contributing

Contributions are welcome! Please submit a pull request or open an issue for any suggestions or improvements.

License

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published