Practice Challenges
1. Create a Basic HTTP Server
EasyServer & CoreWrite a function that returns an HTTP server configuration object with { port, host, routes }. The routes array should contain objects with { method, path, handler } for GET '/' returning 'Hello World' and GET '/health' returning { status: 'ok' }.
Loading...