A modern Pharmacy Management System built with React.js (using TypeScript) for the frontend and integrated with a GraphQL API to handle data operations. This application provides an intuitive interface for managing inventory and tracking sales in a pharmacy.
- Inventory Management: Add, update, and delete pharmaceutical products.
- Search and Filter: Easily search and filter products or records.
- Sales Tracking: Track daily, weekly, and monthly sales.
- User Authentication: Secure login and role-based access.
- Responsive Design: Optimized for desktop, tablet, and mobile devices.
- GraphQL API Integration: Seamless integration with GraphQL for efficient data fetching and updates.
- React.js with TypeScript: For building a robust, type-safe UI.
- React Router: For routing and navigation.
- Mantine-UI (or any UI library): For a modern and responsive design.
- Apollo Client: For managing GraphQL queries and state.
- GraphQL API: For handling CRUD operations and data communication.
- Node.js and Express.js: To serve the GraphQL API.
- Prisma: For database ORM and schema management.
- PostgreSQL (or any database): As the data store.
- Node.js (v16 or above)
- npm or yarn
- A running GraphQL API backend.
git clone https://github.com/itobuztech/pharmastock-frontend
cd pharmacy-frontend
npm install
or
yarn install
VITE_PHARMA_STOCK_API_URL=<GraphQL API URL>
npm run start
or
yarn start
The application will be available at http://localhost:3000.
npm start: Starts the development server. npm build: Builds the project for production. npm lint: Lints the codebase for best practices.
-
Super Admin: email: palashSuperAdmin@itobuz.com password: Itobuz#1234
-
Admin: email: sudeepAdmin.healthfirst@itobuz.com password: Itobuz#1234
-
Staff: email: kaustavi+staff+3@itobuz.com password: Itobuz#1234