{"id":42273091,"url":"https://github.com/coder7475/ecommerce_microservices","last_synced_at":"2026-01-27T07:30:41.898Z","repository":{"id":321883489,"uuid":"1085879176","full_name":"coder7475/ecommerce_microservices","owner":"coder7475","description":"Ecommerce Microservice","archived":false,"fork":false,"pushed_at":"2025-11-25T06:40:46.000Z","size":488,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-11-29T23:34:31.752Z","etag":null,"topics":["api","docker","docker-compose","expressjs","microservices","postgresql","prisma","typescript"],"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/coder7475.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-10-29T16:27:49.000Z","updated_at":"2025-11-25T06:40:50.000Z","dependencies_parsed_at":"2025-11-29T11:09:41.091Z","dependency_job_id":null,"html_url":"https://github.com/coder7475/ecommerce_microservices","commit_stats":null,"previous_names":["coder7475/ecommerce_microservices"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/coder7475/ecommerce_microservices","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coder7475%2Fecommerce_microservices","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coder7475%2Fecommerce_microservices/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coder7475%2Fecommerce_microservices/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coder7475%2Fecommerce_microservices/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/coder7475","download_url":"https://codeload.github.com/coder7475/ecommerce_microservices/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coder7475%2Fecommerce_microservices/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28808012,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-27T07:14:39.408Z","status":"ssl_error","status_checked_at":"2026-01-27T07:14:39.098Z","response_time":168,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["api","docker","docker-compose","expressjs","microservices","postgresql","prisma","typescript"],"created_at":"2026-01-27T07:30:41.164Z","updated_at":"2026-01-27T07:30:41.885Z","avatar_url":"https://github.com/coder7475.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ecommerce Microservices\n\nA collection of microservices for ecommerce\n\n## Services\n\n- [Product Service](./services/product/README.md)\n- [Inventory Service](./services/inventory/README.md)\n- [User Service](./services/user/README.md)\n- [API Gateway](./services/api-gateway/README.md)\n- [Auth Service](./services/auth/)\n- [Email Service](./services/auth/)\n\n## 🛠️ Quickstart\n\n### 1. Install pnpm\n\n```bash\nnpm install -g pnpm\n```\n\n### 2. Install all dependencies for all workspaces\n\n```bash\npnpm install\n```\n\n### 3. Run all services in development mode\n\n```bash\npnpm dev\n```\n\n---\n\n## Running with Docker Compose\n\nStart all services in the background:\n\n```bash\ndocker compose up -d\n```\n\n---\n\n## Database Access via pgAdmin\n\nYou can use **pgAdmin** (running in Docker) to manage your **PostgreSQL** service. Follow these steps:\n\n---\n\n### Step 1: Start the Services\n\n```bash\ndocker compose up -d\n```\n\nThis launches both containers:\n\n- **postgres_db** (PostgreSQL)\n- **pgadmin_ui** (pgAdmin 4)\n\nCheck their status:\n\n```bash\ndocker ps\n```\n\n---\n\n### Step 2: Open pgAdmin in Your Browser\n\nNavigate to:\n\n```\nhttp://localhost:5050\n```\n\nLogin with:\n\n- **Email:** `admin@example.com`\n- **Password:** `admin123`\n\n---\n\n### ⚙️ Step 3: Register the PostgreSQL Server in pgAdmin\n\n1. Right-click **Servers → Register → Server…**\n2. Under the **General** tab, choose a name (e.g., `PostgresDB`)\n3. Under the **Connection** tab, set:\n\n   - **Host name/address:** `postgres` \u003csub\u003e(service name from docker-compose)\u003c/sub\u003e or `host.docker.internal`\n   - **Port:** `5432`\n   - **Maintenance database:** `app_db`\n   - **Username:** `admin`\n   - **Password:** `admin123`\n   - (Optional) Check **Save Password**\n\nClick **Save** to connect!\n\n---\n\n### (Optional) Connect from Your Local Machine\n\nTo connect with external tools (e.g., DBeaver, psql) use:\n\n```sh\nHost: localhost\nPort: 5432\nUser: admin\nPassword: admin123\nDatabase: app_db\n```\n\nThis works because your `docker-compose.yml` maps:\n\n```yaml\nports:\n  - \"5432:5432\"\n```\n\n---\n\n### Verifying the Connection\n\nAfter connecting in pgAdmin, you should see:\n\n```\nServers\n └── PostgresDB\n      ├── Databases\n      │    └── app_db\n```\n\n---\n\n### 📚 References\n\n- [PostgreSQL Docker Image](https://hub.docker.com/_/postgres)\n- [pgAdmin Docker Image](https://hub.docker.com/r/dpage/pgadmin4)\n- [Docker Compose Networking](https://docs.docker.com/compose/networking/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoder7475%2Fecommerce_microservices","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcoder7475%2Fecommerce_microservices","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoder7475%2Fecommerce_microservices/lists"}