makerbot / node-homework

Simple JSON API with tests in express (node)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build status Dependencies

Everything you need to run this

# Install Homebrew
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

# Install git & node
brew install git node

# clone this repo and enter the directory
cd ~/
git clone https://github.com/makerbot/node-homework.git
cd ~/node-homework

# Install node dependencies
npm install

# Run the tests
npm test

To run the server by itself, simply type npm start, then you can curl http://localhost:3000/ to hit an endpoint.

Stuff we used

  • Express as the server framework
  • Mocha as the test runner
  • Chai as the test assertion library

About

Simple JSON API with tests in express (node)


Languages

Language:JavaScript 100.0%