Skip to content

api-samples/countries-node-express

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A Node.js and Express.js version of the Countries API example.

Developed using Node v4.1.0.

Babel.JS for ES6 compatibility. Mocha for testing. eshint for linting.

npm install
npm run-script lint
npm test
npm start

Point your browser to http://localhost:3000/countries/FI

If you have trouble installing Node 4.1.0, but have access to Docker, you can try:

./in-docker.sh npm run-script lint

or just

docker run -it --rm -v `pwd`:/app -w=/app node:4.1.0 -p 3000:3000 npm start

About

The countries API demo with Node.JS and Express (+ Babel.JS)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •