ticket-booking-be/src/app-config/config.json

74 lines
2.4 KiB
JSON

{
"local": {
"appConfig": {
"port": 3000
},
"dbConfig": {
"host": "localhost",
"port": 5432,
"user": "postgres",
"password": "postgres",
"database": "ticket_booking_db",
"MODE": "DEV",
"loggerEnabled": true
},
"fileConfig": {
"storagePath": "./uploads",
"configPath": "./config"
},
"mailConfig": {
"transport": {
"host": "smtppro.zoho.in",
"secure": true,
"port": 465,
"auth": {
"user": "admin@wct.co.in",
"pass": "Wastecare@123"
}
},
"defaults": {
"from": "\"No Reply\" <admin@wct.co.in>"
}
},
"urlConfig": {
"textbookBaseUrl": "http://localhost/content/textbooks/"
},
"swaggerConfig": {
"swagger": {
"title": "ticket-booking application",
"description": "API",
"version": "1.0.0",
"tag": "API"
}
},
"jwtConfig": {
"accessToken": {
"secretOrKey": "8c0f4160ecc3764c2c749f64434ac77863e372319f2b236cb9a6541b30b830f1",
"expiresIn": "15m"
},
"refreshToken": {
"secretOrKey": "40a75dccc55f08f7558f99d97079aa2d2698a61ece0434d435f036f1c8fac21c",
"expiresIn": "7d"
}
},
"vapidConfig": {
"email": "mailto:example@domain.com",
"publicKey": "BJnRhhooOB7unX8yfpHXgbUVqR03A7zsAppguA7JfHMNmhgZ1-RqbA-y70neaPrtbfO8Q1GsipYIM05_SpLDUP0",
"privateKey": "7OAq3PXC3VCNPus6Mua9rxSO66Vd0j5J5Mv8g7hMbYc"
},
"redisConfig": {
"host": "redis://default:oRYKRJKppvVqmSvTCiGeqVF4DDiFc22g6zodJQwbZCxNvKI34UYoQ8bMqdfDtmqd@g40cgo4wg8w0sw080gk0gog8:6379/0",
"port": 6379,
"db": 0
},
"googleOauthConfig": {
"clientId": "361418022886-q8inm4gh7aqhopitpsl87m0vcgces320.apps.googleusercontent.com",
"clientSecret": "GOCSPX-TwyERXKjx-8_U1X68ayJpCssfY",
"callbackURL": "http://localhost:3000/auth/google-redirect",
"scope": [
"email",
"profile"
]
}
}
}