sanifae/server.js

13 lines
283 B
JavaScript
Raw Normal View History

2023-03-15 02:37:23 -04:00
import http from "http";
import { configureServer } from "./src/chat/chat.js";
import express from 'express';
const app = express();
const server = http.createServer(app);
configureServer(server)
server.listen(7272, () => {
console.log('Running on http://localhost:7272');
});