This repository contains the source code for a Pharmacy Management System web application developed using the MERN (MongoDB, Express.js, React, Node.js) stack. The project utilizes Vite as the local development server.
To set up the project locally, follow these steps:
1. Clone the repository:
git clone https://github.com/kavindu-dilshan/KMP-Pharmacy.git
2. Install dependencies for the frontend and backend:
cd KMP-Pharmacy/client
npm install
cd KMP-Pharmacy/server
npm install
3. Set up MongoDB:
- Create a MongoDB database and configure the connection in server/utils/db.js.
4. Run the development server:
cd KMP-Pharmacy/client
npm run dev
cd KMP-Pharmacy/server
npm run dev
The project structure is organized as follows:
- client: Frontend React application.
- server: Backend Express.js application.