{"id":24598458,"url":"https://github.com/itobuztech/pharmastock-frontend","last_synced_at":"2025-03-18T05:29:48.430Z","repository":{"id":273682695,"uuid":"920479551","full_name":"itobuztech/pharmastock-frontend","owner":"itobuztech","description":"Pharma stock React, Graphql, Typescript connected with real API. ","archived":false,"fork":false,"pushed_at":"2025-01-22T10:11:50.000Z","size":1862,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"dev","last_synced_at":"2025-01-22T11:22:24.474Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/itobuztech.png","metadata":{"files":{"readme":"Readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-01-22T08:19:38.000Z","updated_at":"2025-01-22T10:11:53.000Z","dependencies_parsed_at":"2025-01-22T11:34:21.583Z","dependency_job_id":null,"html_url":"https://github.com/itobuztech/pharmastock-frontend","commit_stats":null,"previous_names":["itobuztech/pharmastock-frontend"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itobuztech%2Fpharmastock-frontend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itobuztech%2Fpharmastock-frontend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itobuztech%2Fpharmastock-frontend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itobuztech%2Fpharmastock-frontend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/itobuztech","download_url":"https://codeload.github.com/itobuztech/pharmastock-frontend/tar.gz/refs/heads/dev","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244164158,"owners_count":20408874,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-01-24T12:16:31.484Z","updated_at":"2025-03-18T05:29:48.411Z","avatar_url":"https://github.com/itobuztech.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Pharmacy Management System\n\nA 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.\n\n## Features\n\n- **Inventory Management**: Add, update, and delete pharmaceutical products.\n- **Search and Filter**: Easily search and filter products or records.\n- **Sales Tracking**: Track daily, weekly, and monthly sales.\n- **User Authentication**: Secure login and role-based access.\n- **Responsive Design**: Optimized for desktop, tablet, and mobile devices.\n- **GraphQL API Integration**: Seamless integration with GraphQL for efficient data fetching and updates.\n\n## Technologies Used\n\n### Frontend\n- **React.js** with **TypeScript**: For building a robust, type-safe UI.\n- **React Router**: For routing and navigation.\n- **Mantine-UI** (or any UI library): For a modern and responsive design.\n- **Apollo Client**: For managing GraphQL queries and state.\n\n### Backend\n- **GraphQL API**: For handling CRUD operations and data communication.\n- **Node.js** and **Express.js**: To serve the GraphQL API.\n- **Prisma**: For database ORM and schema management.\n- **PostgreSQL** (or any database): As the data store.\n\n## Prerequisites\n\n- **Node.js** (v16 or above)\n- **npm** or **yarn**\n- A running **GraphQL API** backend.\n\n## Installation\n\n### 1. Clone the frontend repository:\n```bash\ngit clone https://github.com/itobuztech/pharmastock-frontend\ncd pharmacy-frontend\n```\n\n### 2. Install dependencies:\n```bash\nnpm install\n```\nor\n```bash\nyarn install\n```\n\n### 3. Configure environment variables:\n```bash\nVITE_PHARMA_STOCK_API_URL=\u003cGraphQL API URL\u003e\n```\n\n### 4. Start the development server:\n```bash\nnpm run start\n```\nor\n```bash\nyarn start\n```\n\nThe application will be available at http://localhost:3000.\n\n### Scripts\nnpm start: Starts the development server.\nnpm build: Builds the project for production.\nnpm lint: Lints the codebase for best practices.\n\n### Backend repo:\n- https://github.com/itobuztech/pharmastock-backend\n\n### Credentials:\n- Super Admin:\nemail: palashSuperAdmin@itobuz.com\npassword: Itobuz#1234\n\n- Admin:\nemail: sudeepAdmin.healthfirst@itobuz.com\npassword: Itobuz#1234\n\n- Staff:\nemail: kaustavi+staff+3@itobuz.com\npassword: Itobuz#1234\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fitobuztech%2Fpharmastock-frontend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fitobuztech%2Fpharmastock-frontend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fitobuztech%2Fpharmastock-frontend/lists"}