tderflinger / factwings

Factwings is a REST service for the CIA World Factbook data.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Factwings World Factbook

Factwings is a REST service for the CIA World Factbook data.

It is based on the JSON country data https://github.com/opendatajson/factbook.json .

You need to install a MongoDB database that is running on localhost:27017 . Import the JSON data into your MongoDB with the Bash script factbookImport.sh.

You can start the Express REST webservice with:

node index.js

After that you can access individual countries via: http://localhost:3000/factbook/{id}

{id} is the internet domain name of the country.

So to access the data from Germany, enter: http://localhost:3000/factbook/de

Known Issues

It does not work with France.

Factwings Burger Restaurants

Factwings also has burger restaurants data of Munich and Bern.

In the folder restaurants-demo is a demo application in Angular to display the burger restaurants data. Use restaurantsImport.sh to import the burger data in your Mongo database.

Trademark

Factwings is a trademark of Thomas Derflinger.

About

Factwings is a REST service for the CIA World Factbook data.

License:Apache License 2.0


Languages

Language:JavaScript 51.4%Language:HTML 42.3%Language:Shell 6.0%Language:CSS 0.3%