Package breakdown - initial commit 1.0.0

This commit is contained in:
2023-05-23 14:28:43 -04:00
commit 929ebd96d6
33 changed files with 995 additions and 0 deletions

11
lib/index.ts Normal file
View File

@@ -0,0 +1,11 @@
import app from './app';
import { connection } from '../db';
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 }),
);