Init back project
This commit is contained in:
11
front/server.js
Normal file
11
front/server.js
Normal file
@@ -0,0 +1,11 @@
|
||||
import express from 'express';
|
||||
import { handler } from './build/handler.js';
|
||||
|
||||
const app = express();
|
||||
const port = 80;
|
||||
|
||||
app.use(handler);
|
||||
|
||||
app.listen(port, '0.0.0.0', () => {
|
||||
console.log(`Server is running on http://localhost:${port}`);
|
||||
});
|
||||
Reference in New Issue
Block a user