git ssb

1+

dinoworm ๐Ÿ› / catstack



Tree: 7bf5ec33ab5ac86937dc5fc28941ed05996aeddd

Files: 7bf5ec33ab5ac86937dc5fc28941ed05996aeddd / server.js

356 bytesRaw
1const combine = require('depject')
2
3const configModule = require('./config')
4const appModules = require('./lib/app')
5const coreModules = require('./modules')
6
7module.exports = startServer
8
9function startServer ({ cwd } = {}) {
10 const sockets = combine(
11 configModule,
12 appModules({ cwd }),
13 coreModules
14 )
15 sockets.server.start.map(s => s())
16}
17

Built with git-ssb-web