- Initial commit

This commit is contained in:
2023-04-18 19:35:21 -04:00
parent 0dc91d9205
commit 4d85d11b95
21 changed files with 8428 additions and 0 deletions

12
src/server.ts Normal file
View File

@@ -0,0 +1,12 @@
import dotenv from 'dotenv';
dotenv.config();
import app from './app/app';
import { connection } from './database/database.connection';
const PORT: number = Number(process.env.PORT) || 9000;
connection.then(
() => app.listen(PORT),
(err) => console.error('ERROR!', err),
);