Skip to content

Commit

Permalink
feat: Integrated paystack gateway
Browse files Browse the repository at this point in the history
  • Loading branch information
mfontosco committed Mar 2, 2025
1 parent 4966505 commit b84b496
Show file tree
Hide file tree
Showing 12 changed files with 20,115 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .env.local
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,6 @@ JWT_SECRET=someSecrets
JWT_EXPIRY_TIMEFRAME=3600
BASE_URL= "https://staging.api-nestjs.boilerplate.hng.tech"
REDIS_PORT=6379

PAYSTACK_SECRET_KEY=sk_test_9b66341d3244dc051e10504f2a1962aa79e20084
PAYSTACK_WEBHOOK_SECRET=sk_test_9b66341d3244dc051e10504f2a1962aa79e20084
36 changes: 36 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
services:
postgres:
container_name: postgres-boiler
image: postgres:latest
ports:
- '5432:5432'
environment:
- POSTGRES_USER=${DB_USERNAME}
- POSTGRES_PASSWORD=${DB_PASSWORD}
- POSTGRES_DB=${DB_NAME}
volumes:
- db_data:/var/lib/postgresql/data
restart: always

adminer:
image: adminer
container_name: adminer-boiler
ports:
- '8080:8080'
restart: always
depends_on:
- postgres

redis:
image: redis:latest
container_name: redis-boiler
ports:
- '6379:6379'
command: ['redis-server', '--appendonly', 'yes']
volumes:
- redis_data:/data
restart: always

volumes:
db_data:
redis_data:
Loading

0 comments on commit b84b496

Please sign in to comment.