Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
void (async () => {
try {
const moduleComments = resolveModuleComments({
commentsInstanceName: 'comments-hn',
aggregateName: 'Comment',
readModelName: 'Comments',
readModelConnectorName: 'comments',
reducerName: 'comments'
})
const moduleAuth = resolveModuleAuth([
{
name: 'local-strategy',
createStrategy: 'auth/create_strategy.js',
logoutRoute: {
path: 'logout',
method: 'POST'
},
routes: [