Our team started some refactoring, but hasn’t finished it.

You should implement the function startServer(server, port) in functions.js.
It shouldn’t do anything complicated. Just start the server on port.

This task is part of the Full-Stack JavaScript Course
If you have any issues with it, you can ask for community help below the post
Feel free to help others if you’ve already solved the task

functions.js

export const startServer = (server, port) => {

}

index.js

import { server } from './server.js';
import { startServer } from './functions.js';

const port = 8080;

startServer(server, port);

server.js

import express from 'express';

const server = express();

server.get('/hello', (req, res) => {
  res.send('Hello, Coderslang!');
})

export { server };