11 lines
272 B
JavaScript
11 lines
272 B
JavaScript
|
import request from 'supertest';
|
||
|
import express from 'express';
|
||
|
import fs from 'fs';
|
||
|
import path from 'path';
|
||
|
import server from './server.js';
|
||
|
|
||
|
const port = process.env.NODE_PORT || 3000;
|
||
|
server.listen(port, () => {
|
||
|
console.log(`Server started on port ${port}`);
|
||
|
});
|