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

https://github.com/eiselems/whoami-microservice

Microservice which returns data about its vistors
https://github.com/eiselems/whoami-microservice

Last synced: about 2 months ago
JSON representation

Microservice which returns data about its vistors

Awesome Lists containing this project

README

          

# whoami-microservice

## Overview

This is part of the FCC Curriculum.

I wrote this microservice to get familiar with NodeJS and Heroku as a hosting platform.

Test Installation: https://whoami-microservice.herokuapp.com/

Functionality:
* The microservice returns informations about its visitor (host, language, software)

The microservice

# Quick Start Guide

### Starting the App

At first clone the repository and get into the repository's folder.

Install the app by running:
`npm install`

To start the app, make sure you're in the project directory and type `node server.js` into the terminal. This will start the Node server.

You should the following messages within the terminal window:

```
Node.js listening on port 8080...
```

Next, open your browser and enter `http://localhost:8080/`. Congrats, you're up and running!

Issues:

Works much better on remote hosts than on local machines/internal networks.

## License

MIT License. [Click here for more information.](LICENSE.md)