9 lines
244 B
TypeScript
9 lines
244 B
TypeScript
import {SERVER_PORT} from "./config";
|
|
import app from "./server";
|
|
|
|
// start the Express server
|
|
app.listen(SERVER_PORT, () => {
|
|
// tslint:disable-next-line:no-console
|
|
console.log(`server started at http://localhost:${SERVER_PORT}`);
|
|
});
|