Medicomm
Medicomm is a e-pharmacy website built with HTML, CSS, JavaScript, Node.js, Express, and Firebase. It supports medicine sales, online payments, inventory management, and order tracking. Available on Docker.
Install / Use
/learn @ArmanKhanTech/MedicommREADME
About the Project
This e-pharmacy is a business model that deals with the preparation and sale of prescription and non-prescription drugs as in traditional pharmacies. However, online pharmacies take orders online and send the drugs to their destination by post.
Now also available on <a href="https://hub.docker.com/r/armankhan792/medicomm"><b>Docker.</b></a>
Ideal to view only on 1920x1080p 15-inch display since this website isn't responsive.
Built with
Getting Started
Run the following command in your project directory's terminal:
npm install
Prerequisites
<ol> <li> <p>Node.js</a> </li> <li> <p>npm</a> </li> <li> <p>Firebase Account</a> </li> </ol>Installation
-
Clone this repository:
git clone https://github.com/ArmanKhanTech/Medicomm.git -
Make the following changes in: <br/> <br />
a) /server.js ->Line 8: Enter your Razorpay ID & SECRET ID here (nessecary for online payment):const Razorpay = require("razorpay"); const razorpay = new Razorpay({ key_id: "YOUR RAZORPAY ID", key_secret: "YOUR RAZORPAY SECRET KEY", });Line 13: Enter the name of your firebase credential file here (the one you will download from your firebase console):let serviceAccount = require("./YOUR FIREBASE SERVICE ACCOUNT KEY.json");Line 569: Enter the E-mail ID & password here (it will be used to send notification to customers after placing order):let transporter = nodemailer.createTransport({ host: "smtp.gmail.com", auth: { user: "YOUR EMAIL ID", pass: "YOUR EMAIL PASSWORD", }, });b) /js/product.js ->Line 59: Enter your distancematrix.ai token here (or you can use Google Distance Matrix API too):let url = "https://api.distancematrix.ai/maps/api/distancematrix/json?origins=${sellerPin}&destinations=${userPin}&departure_time=now&key=YOUR TOKEN ID";c) /js/checkout.js ->Line 64: Enter your Razorpay ID here:const onlineCheckout = () => { var options = { "key": "YOUR RAZORPAY KEY", -
Run the project by typing localhost:3000/index.html in your browser.<br>
OR
Navigate to <a href="https://hub.docker.com/r/armankhan792/medicomm"><b>DockerHub.</b></a>
Features
<ol> <li> Purchase or sell medicines & other products. </li> <li> Seller's dashboard with inventory management. </li> <li> Order cart & wishlist. </li> <li> Order tracking & history. </li> <li> Online payment with Razorpay. </li> <li> Check item's availability using pincode. </li> <li> Search items by name, type, category or usage. </li> <li> Submit grievances. </li> <li> Signup and Login. </li> </ol>Contributing
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement".
Don't forget to give the project a star!
Thanks again!
License
Distributed under the MIT License. See LICENSE for more information.
Contact
Arman Khan - ak2341776@gmail.com
Project Link - https://github.com/ArmanKhanTech/Medicomm
DockerHub Link - https://hub.docker.com/r/armankhan792/medicomm
Related Skills
node-connect
341.2kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
prose
341.2kOpenProse VM skill pack. Activate on any `prose` command, .prose files, or OpenProse mentions; orchestrates multi-agent workflows.
frontend-design
84.5kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
sonoscli
341.2kControl Sonos speakers (discover/status/play/volume/group).
