Implement the GET /config route.

You should send back the object config from constants.js in JSON format.

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

constants.js

export const config = {
  gold: 29,
  title: 'CoderslangJS',
  learningSchedule: ['Sunday', 'Monday', 'Tuesay', 'Wednesday', 'Thursday', 'Friday'],
  focus: 100,
}

index.js

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

const port = 8080;

server.listen(port, () => console.log(`Waiting for connections on port ${port}`));

server.js

import express from 'express';

const server = express();

server.get('/config', (req, res) => {
  //send the response here
})

export { server };