{"id":27252875,"url":"https://github.com/hashal890/products-transaction","last_synced_at":"2026-04-12T03:39:15.476Z","repository":{"id":245608287,"uuid":"818264552","full_name":"Hashal890/products-transaction","owner":"Hashal890","description":"Developed a comprehensive single-page MERN application showcasing a product transactions table alongside monthly transaction statistics. It includes dynamic visual elements such as a bar chart illustrating price ranges and item counts for the chosen month, and a pie chart presenting unique categories with corresponding item counts.","archived":false,"fork":false,"pushed_at":"2024-06-23T07:38:42.000Z","size":282,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-06-24T01:54:40.455Z","etag":null,"topics":["axios","chakra-ui","cors","css","dotenv","express","html","mongoose","mongoose-paginate-v2","nodemon","react-icons","reactjs","router"],"latest_commit_sha":null,"homepage":"https://products-transaction-statistics-frontend.vercel.app/","language":"JavaScript","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/Hashal890.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":"2024-06-21T13:06:47.000Z","updated_at":"2024-06-23T07:38:45.000Z","dependencies_parsed_at":"2024-06-23T01:49:06.713Z","dependency_job_id":"24ce6c36-bb76-4189-829a-0d42787186f2","html_url":"https://github.com/Hashal890/products-transaction","commit_stats":null,"previous_names":["hashal890/products-transaction"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hashal890%2Fproducts-transaction","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hashal890%2Fproducts-transaction/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hashal890%2Fproducts-transaction/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hashal890%2Fproducts-transaction/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Hashal890","download_url":"https://codeload.github.com/Hashal890/products-transaction/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248323754,"owners_count":21084569,"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":["axios","chakra-ui","cors","css","dotenv","express","html","mongoose","mongoose-paginate-v2","nodemon","react-icons","reactjs","router"],"created_at":"2025-04-11T01:24:55.371Z","updated_at":"2026-04-12T03:39:10.453Z","avatar_url":"https://github.com/Hashal890.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Products Transaction App\n\nI developed a comprehensive single-page MERN application showcasing a product transactions table alongside monthly transaction statistics. It includes dynamic visual elements such as a bar chart illustrating price ranges and item counts for the chosen month, and a pie chart presenting unique categories with corresponding item counts.\n\n## Deployment\n\n- [Frontend](https://products-transaction-statistics-frontend.vercel.app/)\n- [Backend](https://products-transaction-statistics-backend.onrender.com)\n\n## Features\n\n- **Frontend**:\n\n  - **Search Functionality**: Search transactions by title, description, or price.\n  - **Transaction Table**: Displays all product transaction data with comprehensive details.\n  - **Monthly Statistics**: Select a month to view statistics, bar charts, and pie charts specific to that month.\n    - **Statistics**: Shows total sales amount, total sold items, and total unsold items for the selected month.\n    - **Bar Chart**: Displays the price range and the number of items within that range for the selected month, irrespective of the year.\n    - **Pie Chart**: Displays categories and the number of items within each category for the selected month, irrespective of the year.\n  - **Responsive Design**: Ensures optimal viewing experience across all devices.\n\n- **Backend**:\n  - **Data Import API**: Imports data from `https://s3.amazonaws.com/roxiler.com/product_transaction.json` into the database.\n  - **Transaction Listing API**: Lists all transactions with support for search and pagination.\n    - **Search and Pagination**: Allows searching by product title, description, or price, and paginates results. If no search parameters are provided, returns all records for the specified page.\n    - **Default Pagination**: Defaults to page = 1, per page = 10.\n  - **Statistics API**: Provides the total sales amount, number of sold items, and number of unsold items for the selected month.\n  - **Bar Chart Data API**: Returns the price range and number of items within that range for the selected month, irrespective of the year.\n  - **Pie Chart Data API**: Returns unique categories and the number of items within each category for the selected month, irrespective of the year.\n  - **Combined Data API**: Fetches data from the Statistics, Bar Chart Data, and Pie Chart Data APIs, combines the results, and returns a single JSON response.\n\n## Technology Stack\n\nList and provide a brief overview of the technologies used in the project.\n\n- [MongoDB](https://www.mongodb.com/)\n- [Mongoose](https://mongoosejs.com/docs/guide.html)\n- [Express.js](https://expressjs.com/en/starter/installing.html)\n- [React.js](https://reactjs.org/)\n- [Context API](https://legacy.reactjs.org/docs/context.html)\n- [JavaScript](https://developer.mozilla.org/en-US/docs/Web/JavaScript)\n- [Axios](https://axios-http.com/docs/intro)\n- [CORS](https://www.npmjs.com/package/cors)\n- [Dotenv](https://www.npmjs.com/package/dotenv)\n- [Nodemon](https://www.npmjs.com/package/nodemon)\n- [Mongoose Paginate v2](https://www.npmjs.com/package/mongoose-paginate-v2)\n- [HTML](https://developer.mozilla.org/en-US/docs/Web/HTML)\n- [CSS](https://developer.mozilla.org/en-US/docs/Web/CSS)\n- [Chakra UI](https://chakra-ui.com/getting-started)\n- [React Icons](https://react-icons.github.io/)\n\n## Screenshots\n\n**Product Transactions Table**\n\n![product-transactions-table](./screenshots/product-transactions-table.jpg)\n\n**Statistics of Month**\n\n![statistics](./screenshots/statistics-of-month.jpg)\n\n**Bar Chart of Month**\n\n![bar- chart-of-month](./screenshots/bar-chart-of-month.jpg)\n\n**Pie Chart of Month**\n\n![pie-chart-of-month](./screenshots/pie-chart-of-month.jpg)\n\n## Connect with Me\n\n- [LinkedIn](https://www.linkedin.com/in/harshalpardeshi/)\n- [Email](mailto:pardeshiharshal90@gmail.com)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhashal890%2Fproducts-transaction","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhashal890%2Fproducts-transaction","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhashal890%2Fproducts-transaction/lists"}