Initial dev branch commit

This commit is contained in:
2024-11-01 13:43:05 -05:00
parent e2c65425af
commit dd26a3db33
2 changed files with 3 additions and 19 deletions

View File

@ -1,7 +1,8 @@
import express from 'express';
import { Server } from 'socket.io';
import { createServer } from 'http';
import { Client, Notification } from 'pg';
import { Client } from 'pg';
import type { Notification } from 'pg';
import dotenv from 'dotenv';
dotenv.config();
@ -11,7 +12,7 @@ const httpServer = createServer(app);
// Create new Socket.IO server
const io = new Server(httpServer);
const PORT = process.env.PORT || 3030;
const PORT = process.env.PORT ?? 3020;
const pgClient = new Client({
connectionString: process.env.DATABASE_URL,