An app that reads your browser and returns a JSON object with your ip-address, language and software.
{
"ipaddress": "xxx.xxx.xxx.xxx",
"language": "en-US",
"software": "Macintosh; Intel Mac OS X 10.13; rv:58.0"
}
- I can get the IP address, language and operating system for my browser.
- Express: Fast, unopinionated, minimalist web framework for node
Install dependencies then launch app @ localhost:8000
$ npm install
$ npm start
Example routes:
http://localhost:8000/
http://localhost:8000/api/whoami
View app in production (if still active)
https://answart-rqp-ms.herokuapp.com
https://answart-rqp-ms.herokuapp.com/api/whoami
Command | Description |
---|---|
npm install | Install dependencies in package.json |
node server.js | Start server @ localhost:8000 |