Skip to content

Instantly share code, notes, and snippets.

@marttp
Created July 28, 2019 12:15
Show Gist options
  • Save marttp/85006c493391c6da8bf6835edb10accf to your computer and use it in GitHub Desktop.
Save marttp/85006c493391c6da8bf6835edb10accf to your computer and use it in GitHub Desktop.
const express = require('express');
const app = express();
const { initFilePathConfig } = require('./utils/file.util.js');
const { PORT } = require('../configs/server.config');
require('./utils/cron.util');
initFilePathConfig();
app.listen(PORT, () => {
console.log(`Server start on port: ${PORT}`);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment