PharmaMart is a modern multi-vendor e-commerce platform for medicine and healthcare products. The platform enables vendors to list their products and customers to purchase medicines, vitamins, supplements, and other health essentials conveniently. PharmaMart focuses on trust, quality, and seamless user experience to make online healthcare accessible for everyone.
Explore the website: PharmaMart
- Browse Medicines: Explore medicines by categories like Pain Relief, Antibiotics, Vitamins, etc.
- Search & Filter: Easily find medicines by name, category, or type.
- Product Details: View detailed information, including price, discounts, expiry date, and more.
- Secure Checkout: Place orders with a simple, secure payment process through stripe.
- Multi-Vendor Platform: Register and list your medicines effortlessly.
- Inventory Management: Update stock, prices, and product details.
- Sales Dashboard: Track orders and manage transactions.
- Responsive Design: Optimized for all devices, including desktops, tablets, and smartphones.
- User Authentication: Secure login for customers and vendors.
- Real-Time Notifications: Alerts for low stock, order status updates, and promotions.
- Admin Panel: Manage users, products, and transactions effectively.
- Frontend: React.js, TailwindCSS
- Backend: Node.js, Express.js
- Database: MongoDB
- PaymentGateway: Stripe
- Authentication: Firebase auth, JWT (JSON Web Token)
- Hosting: Vercel
- Node.js
- MongoDB
To run the website locally, follow these steps:
- Clone the repository:
git clone https://github.com/zahidtdx61/PharmaMart.git
- Navigate to the client directory:
cd PharmaMart/client
- Install dependencies:
npm install
- Make an .env file and add these credentials:
VITE_apiKey=<get_this_from_firebase>
VITE_authDomain=<get_this_from_firebase>
VITE_projectId=<get_this_from_firebase>
VITE_storageBucket=<get_this_from_firebase>
VITE_messagingSenderId=<get_this_from_firebase>
VITE_appId=<get_this_from_firebase>
VITE_IMGBB_API_KEY=<get_this_from_imgbb>
VITE_Bytescale_accountId=<get_this_from_bytescale>
VITE_Bytescale_apiKey=<get_this_from_bytescale>
VITE_STRIPE_PUBLISHABLE_KEY=<get_this_from_stripe>
VITE_API_URL=<add_you_backend_api_address>
- Start the development client server:
npm run dev
- Navigate to server directory
cd ../server
- Install dependencies:
npm install
- Make an .env file and add these credentials:
PORT=<any_port_your_choice>
MONGO_URL=<get_this_from_mongoDB>
MONGO_DB_NAME=<any_name_of_your_choice>
ACCESS_TOKEN_SECRET=<secret_key>
STRIPE_SECRET_KEY=<get_this_from_stripe>
YOUR_DOMAIN=<domain_name>
- Start the development backend server:
npm run dev
We welcome contributions from the community to enhance and improve PharmaMart.