1
0
Fork 0
mirror of https://github.com/pawelmalak/flame.git synced 2025-07-19 03:29:37 +02:00

Server db utils changes

This commit is contained in:
Paweł Malak 2021-11-13 23:28:43 +01:00
parent 91e99e1bcc
commit d86ebe3e58
5 changed files with 36 additions and 21 deletions

View file

@ -20,9 +20,9 @@ const logger = new Logger();
const PORT = process.env.PORT || 5005;
// Init app
await initApp();
await connectDB();
await associateModels();
await initApp();
// Create server for Express API and WebSockets
const server = http.createServer();