UNPKG

legendaryjs

Version:

LegendaryJS – The ultimate backend framework for speed, power, and simplicity.

24 lines (23 loc) 665 B
module.exports = { server: { port: process.env.PORT || 3000, host: '0.0.0.0', }, db: { mongoURI: process.env.MONGO_URI || 'mongodb://localhost:27017/legendary', postgresURI: process.env.POSTGRES_URI || 'postgres://user:pass@localhost:5432/legendary', mysqlURI: process.env.MYSQL_URI || 'mysql://root:password@localhost:3306/legendary', redis: { host: 'localhost', port: 6379, }, }, auth: { jwtSecret: process.env.JWT_SECRET || 'legendary-secret', sessionSecret: process.env.SESSION_SECRET || 'legendary-session', }, graphql: { enabled: true, endpoint: '/graphql', }, };