A full-stack pharmacy and wellness web application with an AI chat interface.
SmartPharm explores how a web-based interface can bring medicine and wellness product browsing together with conversational assistance. The project combines a React frontend with an Express API.
This is a software project, not a clinically validated medical device. The chat assistant is not a substitute for professional medical advice.
| Component | Technology | Purpose |
|---|---|---|
| Frontend | React 18, Vite, Tailwind CSS, React Router, styled-components | User interface and navigation |
| Backend | Node.js, Express 5, Axios, dotenv, CORS, Morgan | API and service integration |
SmartPharm/
backend/ Express API
config/
controllers/
routes/
index.js
frontend/ React application
src/
components/
layouts/
chatai/
data/
assets/
Install Node.js and npm, then clone the repository:
git clone https://github.com/EngAnwarAlkhteeb/SmartPharm.git
cd SmartPharmRun the backend in one terminal:
cd backend
npm install
npm run devRun the frontend in another terminal from the repository root:
cd frontend
npm install
npm run devConfigure local environment variables required by the backend before running integrations. Keep credentials out of Git. An environment template still needs to be documented.
From the frontend directory:
npm run build
npm run lintSmartPharm Frontend contains the standalone frontend.
Development project. Deployment, clinical validation, and automated test coverage are not established by this documentation.