Skip to content

This NodeJS app delivers information on any country via reading & parsing a JSON file.

Notifications You must be signed in to change notification settings

madamerobot/MyCountryApp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

MyCountryApp

This app delivers country-name and TopLevelDomain for any country you request.

Getting Started

These instructions will allow you to run the code of node.js within the NodeJS runtime. This programm will output country-name and TopLevelDomain for three test-countries.

Built with:

NodeJS

Prerequisites

In order to use this app, you have to install NodeJS.

Installing

  1. Download NodeJS following this link: https://nodejs.org/en/download/ (LTS version recommended)
  2. Open Installer
  3. Follow prompts to complete installation

Running the tests

To test this app, you have to open it within the node runtime, from your terminal:

  1. Open Terminal
  2. Navigate to folder where you have saved the node.js file
  3. Type command "node node.js"
  4. Output should be the following:
  5. Countryname: Germany
    TopLevelDomain: .de
    Countryname: Netherlands
    TopLevelDomain: .nl
    Countryname: Albania
    TopLevelDomain: .al

    Authors

    Valerie Fuchs

    License

    Apache 2.0

About

This NodeJS app delivers information on any country via reading & parsing a JSON file.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published