Now that we have the CONFIG
constant, we can import it into server.js
and add a new route
GET /config
that will serve it.
Implement this route and make sure it works by going to http://localhost:8080/config in the browser
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.