Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions 3.Ticketing/auth/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ import { app } from './app';

const start = async () => {
// kubectl create secret generic jwt-secret --from-literal=JWT_KEY=asdf
console.log('Auth Service Started ...');

if(!process.env.JWT_KEY){
throw new Error('JWT_KEY must be defined');
}
Expand Down
2 changes: 2 additions & 0 deletions 3.Ticketing/orders/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ import { PaymentCreatedListener } from './events/listeners/payment-created-liste

const start = async () => {
// kubectl create secret generic jwt-secret --from-literal=JWT_KEY=asdf
console.log('Orders Service Started ...');

if(!process.env.JWT_KEY){
throw new Error('JWT_KEY must be defined');
}
Expand Down
3 changes: 2 additions & 1 deletion 3.Ticketing/payments/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ import { natsWrapper } from './nats-wrapper';
const start = async () => {
// kubectl create secret generic jwt-secret --from-literal=JWT_KEY=asdf
// kubectl create secret generic strip-secret --from-literal=STRIPE_KEY=sk_test_51JAIM1SB8iKkzqsGL8f5ksdvANZi2ZkuPzB47c8hF5zGOLquvxmeyu0L0fXqWOwfiwJTadOIkKYsBLeTxgszJyYj00UWWBC0wj

console.log('Payment Service Started ...');

if(!process.env.JWT_KEY){
throw new Error('JWT_KEY must be defined');
}
Expand Down
2 changes: 2 additions & 0 deletions 3.Ticketing/tickets/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ import { OrderCancelledListener } from './events/listeners/order-cancelled-liste

const start = async () => {
// kubectl create secret generic jwt-secret --from-literal=JWT_KEY=asdf
console.log('Payment Service Started ...');

if(!process.env.JWT_KEY){
throw new Error('JWT_KEY must be defined');
}
Expand Down