Skip to content

arthur-here/couch_logger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CouchDB Logger

npm run to start the service on the default port 3000. Don't forget to start the CouchDB and update the dbUrl in the app/config/config.js.

POST Requests:

1. Create a user

POST to /users

Example:

{
  "id": "[email protected]",
  "name": "Arthur"
}

2. Create an event

POST to /events

Example:

{ 
  "name": "Log In", 
  "logLevel": "warning", 
  "userID": "[email protected]",
  "message": "Invalid Password",
  "client": {
    "platform": "iOS",
    "version": "1.2.0"
  }
}

Possible Log Levels:

  • info
  • debug
  • warning
  • error

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published