aleksandrchusovitin/frontend-project-lvl4

View on GitHub
bin/slack.js

Summary

Maintainability
A
0 mins
Test Coverage
#! /usr/bin/env node

import getApp from '../server/index.js';

const port = process.env.PORT || 5000;
const address = '0.0.0.0';

getApp({ port }).then((app) => {
  app.listen(port, address, () => {
    console.log(`Server has been started on ${port}`);
  });
});