An open API service indexing awesome lists of open source software.

https://github.com/autumnchris/header-parser-api

An Express.js API that gets the user's current IP address, set language, and operating system.
https://github.com/autumnchris/header-parser-api

api css3 ejs ejs-express express expressjs freecodecamp header-parser javascript nodejs request-header-parser request-header-parser-microservice

Last synced: 2 months ago
JSON representation

An Express.js API that gets the user's current IP address, set language, and operating system.

Awesome Lists containing this project

README

          

# Header Parser API

An Express.js API that gets the user's current IP address, set language, and operating system.

Inspired by the [Request Header Parser Microservice challenge](https://learn.freecodecamp.org/apis-and-microservices/apis-and-microservices-projects/request-header-parser-microservice) as part of the curriculum for the [Back End Development and APIs Certification](https://www.freecodecamp.org/learn/back-end-development-and-apis) on [freeCodeCamp](https://www.freecodecamp.org).

---

## Built With
* [Express.js](https://expressjs.com)
* [Node.js](https://nodejs.org/en)
* [EJS](https://ejs.co)
* HTML5
* CSS3
* JavaScript
* Vanilla JS
* [Normalize.css](https://necolas.github.io/normalize.css)
* [Google Fonts](https://fonts.google.com)
* [Font Awesome](https://fontawesome.com)
* [nodemon](https://nodemon.io)

## Demo

View project demo at [https://autumnchris-header-parser-api.onrender.com/api](https://autumnchris-header-parser-api.onrender.com/api).

## Instructions

After forking and cloning, navigate to the repository in your command line and install the NPM packages:
```
npm install
```

Run the following script in your command line if starting the repository in development mode:
```
npm run dev
```

Run the following script in your command line if starting the repository in production mode:
```
npm start
```

Once the server is running, go to `http://localhost:3000` in your browser.