{"id":23679633,"url":"https://github.com/samrath49/vendorhub","last_synced_at":"2025-07-09T13:38:06.670Z","repository":{"id":269797683,"uuid":"908465442","full_name":"Samrath49/vendorhub","owner":"Samrath49","description":null,"archived":false,"fork":false,"pushed_at":"2025-01-10T18:48:23.000Z","size":38,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-10T19:39:57.063Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Samrath49.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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-12-26T06:23:13.000Z","updated_at":"2025-01-10T18:48:27.000Z","dependencies_parsed_at":"2024-12-26T08:28:32.144Z","dependency_job_id":"4dc6976e-fbb2-4a2c-a83c-941c1b93f279","html_url":"https://github.com/Samrath49/vendorhub","commit_stats":null,"previous_names":["samrath49/vendorhub"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Samrath49%2Fvendorhub","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Samrath49%2Fvendorhub/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Samrath49%2Fvendorhub/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Samrath49%2Fvendorhub/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Samrath49","download_url":"https://codeload.github.com/Samrath49/vendorhub/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239727052,"owners_count":19687098,"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":"2024-12-29T17:53:13.209Z","updated_at":"2025-02-19T20:12:40.109Z","avatar_url":"https://github.com/Samrath49.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# VendorHub\n\nVendorHub is a Django-based microservices project designed for managing vendor-related operations. The project leverages Docker and Docker Compose for seamless containerized development and deployment.\n\n---\n\n## Prerequisites\n\nBefore setting up the project locally, ensure you have the following installed:\n- [Docker](https://www.docker.com/get-started)\n- [Docker Compose](https://docs.docker.com/compose/)\n\n---\n\n## Setup Instructions\n\n1. Clone the repository:\n   ```bash\n   git clone https://github.com/Samrath49/vendorhub.git\n   cd vendorhub\n   ```\n\n2. Create and configure the `.env` file:\n- Copy `.env.example` to `.env`\n   ```bash\n   cp .env.example .env\n   ```\n\n3. Build and start the Docker containers:\n    ```bash\n   docker-compose up --build\n   ```\n\n4. Access the application:\n- The Django development server will be available at `http://localhost:8000`.\n\n## Prerequisites\n\n### Running the Project\n\n```bash\ndocker-compose down\ndocker-compose up --build\n```\n\n### Checking Service Health\n\n```bash\ndocker-compose exec redis redis-cli ping\ndocker-compose exec db psql -U postgres\ndocker-compose exec web python manage.py check\n```\n\n### Managing Migrations\n- Create and apply migrations for services:\n\n```bash\ndocker-compose exec web python manage.py makemigrations base\ndocker-compose exec web python manage.py migrate base\n\ndocker-compose exec web python manage.py makemigrations product_service\ndocker-compose exec web python manage.py makemigrations order_service\ndocker-compose exec web python manage.py makemigrations payment_service\ndocker-compose exec web python manage.py makemigrations shipment_service\n\ndocker-compose exec web python manage.py migrate\n```    \n\n### Deleting the Database\n```bash\ndocker volume rm vendorhub_postgres_data\n``` \n\n### Deleting Migration Files\n```bash\nfind . -path \"*/migrations/*.py\" -not -name \"__init__.py\" -delete\n``` ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamrath49%2Fvendorhub","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsamrath49%2Fvendorhub","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamrath49%2Fvendorhub/lists"}