Skip to content

hoangkimminh/crawler

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Night Watch crawler

INSTALLATION

Requirements

  • Node.js >= 8
  • Dotenv files: .env.production and/or .env.development

Instructions

$ yarn install
$ yarn start # yarn dev for development

DOCUMENTATION

Environment Variables

  • NODE_ENV (string): "development" or "production" environment
  • PORT (number): Port number to run the server
  • NOTIFICATION_SERVICE_ADDRESS (string): Address of notification service
  • MONGODB_URI (string): MongoDB URI
  • MONGODB_DB_NAME (string): Database name

Routes

GET /

Just for testing

Response body
  • iam: "/"

POST /

Execute a watch session

Request body
  • watchID (ObjectID): ID of the watch

About

Night Watch crawler

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • JavaScript 100.0%