Skip to content

johnchristotle/request-header-parser-microservice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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":"197.211.59.115","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

enjoy!

About

Request-Header-Parser-Microservice App for FreeCodeCamp Backend Challenge

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published