{"id":24839893,"url":"https://github.com/protik111/order-management-system","last_synced_at":"2025-03-26T05:13:37.478Z","repository":{"id":273734999,"uuid":"920630419","full_name":"Protik111/order-management-system","owner":"Protik111","description":"This project is an Order Management System that consists of a backend API and a frontend client.","archived":false,"fork":false,"pushed_at":"2025-02-13T15:39:41.000Z","size":393,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-13T16:40:02.748Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/Protik111.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-22T13:54:42.000Z","updated_at":"2025-02-13T15:39:44.000Z","dependencies_parsed_at":"2025-02-14T13:46:01.628Z","dependency_job_id":null,"html_url":"https://github.com/Protik111/order-management-system","commit_stats":null,"previous_names":["protik111/order-management-system"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Protik111%2Forder-management-system","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Protik111%2Forder-management-system/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Protik111%2Forder-management-system/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Protik111%2Forder-management-system/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Protik111","download_url":"https://codeload.github.com/Protik111/order-management-system/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245591586,"owners_count":20640692,"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-31T06:49:49.189Z","updated_at":"2025-03-26T05:13:37.472Z","avatar_url":"https://github.com/Protik111.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Order Management System\n\nThis project is an **Order Management System** that consists of a **backend API** and a **frontend client**. The backend is built with Node.js, and the frontend is built with React. The system allows users to manage orders, products, and promotions efficiently.\n\n## Features\n\n- **User Authentication**: Login and registration with JWT-based authentication.\n- **Order Management**: Create, update, and view orders.\n- **Product Management**: Add, update, and delete products.\n- **Promotion Management**: Apply promotions to products based on weight slabs.\n- **Responsive Frontend**: Built with React and Ant Design for a seamless user experience.\n\n---\n\n## Getting Started\n\nFollow these instructions to set up the project locally.\n\n### Prerequisites\n\n- Node.js (v16 or higher)\n- Yarn (v1.22 or higher)\n- PostgreSQL (for the database)\n- Docker Desktop (if you want to use docker)\n\n### Clone the Repository\n\n```bash\ngit clone https://github.com/Protik111/video-upload-service.git\ncd video-upload-service\n```\n\n#### Backend Setup\n\n- Navigate to the backend directory:\n\n```bash\ncd order-management-backend\n```\n\n- Install dependencies:\n\n```bash\nyarn install\n```\n\n- Create a .env file in the backend directory with the following variables\n\n```bash\nNODE_ENV=development\nPORT=5000\nDATABASE_URL=\"postgresql://postgres-user:postgres-password@localhost:5432/manush-order-management?schema=public\"\nPOSTGRES_USER=postgres-user\nPOSTGRES_PASSWORD=postgres-password\nPOSTGRES_DB=manush-order-management\nJWT_SECRET='your_jwt_secret'\nJWT_REFRESH_SECRET='your_jwt_refresh_secret'\nJWT_EXPIRES_IN=1d\nJWT_REFRESH_EXPIRES_IN=365d\nBCRYPT_SALT_ROUNDS=10\nPWD=your_present_backend_directory\n```\n\n# Note:\n\nIf you setup with docker then the DATABASE_URL will have a little change.\n\n```bash\nfor local machine\nDATABASE_URL=\"postgresql://postgres-user:postgres-password@localhost:5432/manush-order-management?schema=public\"\n```\n\n```bash\nfor docker environment\nDATABASE_URL=\"postgresql://postgres-user:postgres-password@db:5432/manush-order-management?schema=public\"\n```\n\n#### Frontend Setup\n\n- Navigate to the frontend directory:\n\n```bash\ncd order-management-frontend\n```\n\n- Install dependencies:\n\n```bash\nyarn install\n```\n\n- Start the frontend development server:\n\n```bash\nyarn dev\n```\n\n## Docker Setup\n\nComing Soon\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprotik111%2Forder-management-system","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprotik111%2Forder-management-system","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprotik111%2Forder-management-system/lists"}