HealthBox is a full-stack e-commerce platform designed for online medicine sales. It provides users with a seamless experience to browse, purchase, and manage their orders while allowing admins to oversee products, users, and payments.
- Secure Firebase authentication (Google & Email/Password login)
- Browse medicines by category, featured products, and best sellers
- Add medicines to cart, update quantities, and checkout
- View order history and track purchases
- User profile management
- Admin Dashboard to manage users, products, and orders
- CRUD functionality for product management
- Seller Dashboard to manage individual products and sales
- Stripe integration for secure transactions
- Role-based access control (Admin, Seller, Customer)
- Invoice generation after successful payment
- Dynamic stock updates after purchase
- React.js (with React Router)
- Tailwind CSS
- Node.js & Express.js
- MongoDB (Database)
- Firebase Authentication
- Stripe Payment Gateway
- Clone the repository
git clone https://github.com/yourusername/healthbox.git cd healthbox
- Install dependencies
npm install
- Set up environment variables (
.env
file)MONGO_URI=your_mongodb_connection_string FIREBASE_API_KEY=your_firebase_api_key STRIPE_SECRET_KEY=your_stripe_secret_key
- Run the development server
npm run dev
- Frontend: Hosted on firebase
- Backend: Hosted on Vercel/Render
- Database: MongoDB Atlas
This project is open-source and available under the MIT License.
- Implement prescription uploads for certain medicines
- Add a loyalty points system for frequent buyers
- Enable order tracking with real-time updates
If you have any questions or want to collaborate, feel free to reach out!
🔗 GitHub: Sayid Hasan
🔗 LinkedIn: Mohammad Syed Hasan