Skip to content

fcarreno/rot-error-alarm-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rot-error-alarm-server

SIMPLE EXPRESS TEST API SERVER, including a single GET endpoint.

Appends errors to a log file, whenever an odd number is received as parameter.

Sample API route is as follows http://localhost:8000/api/test?number=[numberValue]

*** Works in conjunction with error log file watcher process, under: https://github.com/fcarreno/rot-error-alarm-watcher

*** Errors are logged using specific JSON format --> bunyan err

SETUP & RUN

  1. Clone the repo
  2. npm install (install dependencies)
  3. npm start (start API server)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published