/hng-11

All Tasks For The HNG 11 Internship Program

Primary LanguageJavaScript

HNG 11 Stage One Task - Backend Track

Task Description

Set up a basic web server in your preferred stack. Deploy it to any free hosting platform and expose an API endpoint that conforms to the criteria below:

Endpoint: [GET] <example.com>/api/hello?visitor_name="Mark" (where <example.com> is your server origin)

Expected Response:

{
  "client_ip": "127.0.0.1", // The IP address of the requester
  "location": "New York" // The city of the requester
  "greeting": "Hello, Mark!, the temperature is 11 degrees Celcius in New York"
}

Technologies Used

  • NodeJS
  • ExpressJS
  • Accuweather
  • ipInfo