API Project: Request Header Parser Microservice for freeCodeCamp

User stories:

  1. I can get the IP address, preferred languages (from header Accept-Language) and system infos (from header User-Agent) for my device.

Example usage:

Example output:

  • {"ipaddress":"","language":"en-GB,en;q=0.9,en-US;q=0.8", "software":"Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.51 Safari/537.36"}

Run The App

clone this repo and install all dependancies npm i

npm start

locate port e.g localhost:52421



View Github