https://github.com/codbex/codbex-ecommerce
e-Commerce Backoffice Management Application
https://github.com/codbex/codbex-ecommerce
Last synced: 6 days ago
JSON representation
e-Commerce Backoffice Management Application
- Host: GitHub
- URL: https://github.com/codbex/codbex-ecommerce
- Owner: codbex
- Created: 2025-06-10T07:18:58.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2026-04-02T11:42:21.000Z (9 days ago)
- Last Synced: 2026-04-03T01:37:18.554Z (9 days ago)
- Language: TypeScript
- Homepage:
- Size: 184 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# codbex-ecommerce
## Data Model
TBD
## Docker
```
docker pull ghcr.io/codbex/codbex-ecommerce:latest
docker run --name codbex-ecommerce \
--rm -p 8080:80 \
ghcr.io/codbex/codbex-ecommerce:latest
```
## Kubernetes
Get running Pods:
```
kubectl get pods -n prod
```
Get application logs:
```
kubectl logs deployments/codbex-ecommerce -f -n prod
```
Get application shell:
```
kubectl exec -it deployments/codbex-ecommerce -n prod -- /bin/sh
```
Scale to zero the e-Commerce application:
```
kubectl scale deployments/codbex-ecommerce --replicas=0 -n prod
```
Create Database secret:
```
kubectl create secret generic codbex-ecommerce-database-credentials -n prod \
--from-literal=username=DATABASE_USERNAME \
--from-literal=password=DATABASE_PASSWORD \
--from-literal=jdbc-url=jdbc:postgresql://codbex-ecommerce-database/DATABASE_USERNAME
```
Create AWS Cognito secret:
```
kubectl create secret generic codbex-ecommerce-cognito-credentials -n prod \
--from-literal=clientId=COGNITO_CLIENT_ID \
--from-literal=clientSecret=COGNITO_CLIENT_SECRET \
--from-literal=domain=COGNITO_DOMAIN \
--from-literal=regionId=COGNITO_REGION \
--from-literal=userPoolId=COGNITO_USER_POOL_ID
```
## Development
This setup uses the `ghcr.io/codbex/codbex-atlas` image as the base for local development with the codbex Atlas platform.
To start the containers, run:
```
docker-compose up .
```
### Environment Variables
TBD