Finishing touches to publish
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2023-05-03 11:38:41 -04:00
parent dc72cefece
commit 32bfbd7adc
15 changed files with 36 additions and 38 deletions

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

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