Skip to content

Latest commit

 

History

History
36 lines (25 loc) · 883 Bytes

README.md

File metadata and controls

36 lines (25 loc) · 883 Bytes

Build Status

Word counter server

Counts occurrence of words using distributed REST services.

Created for Feevale University Distributed Systems Course on year 2015.

  • Course: Programação de Sistemas Distribuídos
  • Semester: 6º Semestre
  • Program: Sistemas para Internet
  • University: Universidade Feevale

How to run

DEBUG=* node index.js -c \
  http://localhost:5050 \
  http://localhost:5051 \
  http://localhost:5052 \
  -s lorem \
  -f lorem-ipsum.txt

Options

  • -c or --client to set one or more clients
  • -s or --search to set the word that will be searched
  • -f or --file to set the file that will be used (path to file)

Testing

npm test