Restructuring the folders
Some checks failed
continuous-integration/drone/pr Build is failing
continuous-integration/drone/push Build was killed

This commit is contained in:
2023-05-24 10:24:39 -04:00
parent 1fa308b2a9
commit b969adbc2e
27 changed files with 444 additions and 439 deletions

11
src/index.ts Normal file
View File

@@ -0,0 +1,11 @@
import app from './app';
import { connection } from '@mifi/auth-db/lib';
import { PORT } from './constants/env';
connection.then(
() => {
app.listen(PORT);
console.debug('Server up and listening', { env: process.env });
},
(err) => console.error('Could not reach database', { err, env: process.env }),
);