Reorganizing
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
2023-05-03 11:12:59 -04:00
parent 27a78dd471
commit dc72cefece
23 changed files with 163 additions and 87 deletions

12
lib/server/server.ts Normal file
View File

@@ -0,0 +1,12 @@
import dotenv from 'dotenv';
import app from './app';
import { connection } from './database/database.connection';
import { PORT } from '../constants/constants';
dotenv.config();
connection.then(
() => app.listen(PORT),
(err) => console.error('ERROR!', err),
);