A collection of microservices for ecommerce
npm install -g pnpmpnpm installpnpm devStart all services in the background:
docker compose up -dYou can use pgAdmin (running in Docker) to manage your PostgreSQL service. Follow these steps:
docker compose up -dThis launches both containers:
- postgres_db (PostgreSQL)
- pgadmin_ui (pgAdmin 4)
Check their status:
docker psNavigate to:
http://localhost:5050
Login with:
- Email:
admin@example.com - Password:
admin123
-
Right-click Servers → Register → Server…
-
Under the General tab, choose a name (e.g.,
PostgresDB) -
Under the Connection tab, set:
- Host name/address:
postgres(service name from docker-compose) orhost.docker.internal - Port:
5432 - Maintenance database:
app_db - Username:
admin - Password:
admin123 - (Optional) Check Save Password
- Host name/address:
Click Save to connect!
To connect with external tools (e.g., DBeaver, psql) use:
Host: localhost
Port: 5432
User: admin
Password: admin123
Database: app_dbThis works because your docker-compose.yml maps:
ports:
- "5432:5432"After connecting in pgAdmin, you should see:
Servers
└── PostgresDB
├── Databases
│ └── app_db