A backend system designed for managing pharmacy inventories. This project allows users to add medicines manually or in bulk using an Excel file. Built with Node.js, Express.js, and MongoDB, it ensures efficient and reliable medicine management.
-
Add Medicines Manually
Add individual medicines to the inventory through the provided API endpoints. -
Bulk Upload via Excel (XLSX)
Upload.xlsxfiles to import multiple medicines into the inventory at once. -
Database Integration
Leverages MongoDB for secure and scalable storage of medicine data.
- Backend Framework: Express.js
- Database: MongoDB
- Excel Parsing: xlsx
Follow these steps to set up and run the project locally:
-
Clone the repository:
git clone https://github.com/yourusername/pharmacy-medicines-backend.git cd pharmacy-medicines-backend -
Install dependencies: npm install
-
Set up environment variables in a
.envfile: PORT=3000 MONGO_URI= -
Start the server: npm start