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.
- Host: GitHub
- URL: https://github.com/autumnchris/header-parser-api
- Owner: autumnchris
- Created: 2017-12-20T17:27:37.000Z (about 8 years ago)
- Default Branch: main
- Last Pushed: 2025-02-12T20:47:16.000Z (12 months ago)
- Last Synced: 2025-02-12T21:33:15.675Z (12 months ago)
- Topics: api, css3, ejs, ejs-express, express, expressjs, freecodecamp, header-parser, javascript, nodejs, request-header-parser, request-header-parser-microservice
- Language: CSS
- Homepage: https://autumnchris-header-parser-api.onrender.com/api
- Size: 39.1 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.