Skip to content

hoangkimminh/web-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Night Watch web app

INSTALLATION

Requirements

  • Node.js >= 12.0.0

DOCUMENTATION

Environment Variables

  • NODE_ENV (string): "development" or "production" environment
  • HOST (string): IP address or domain name on which this process is running (including protocol and port)
  • PORT (number): Port number to run the server
  • USER_MANAGER_ADDRESS (string): Address of user-manager
  • WATCH_MANAGER_ADDRESS (string): Address of watch-manager
  • SCHEDULER_ADDRESS (string): Address of scheduler
  • CRAWLER_ADDRESS (string): Address of crawler
  • NOTIFICATION_SERVICE_ADDRESS (string): Address of notification-service
  • FB_APP_ID (string): Facebook app ID
  • FB_APP_SECRET (string): Facebook app secret
  • JWT_SECRET (string): JWT secret

API Routes

1. /api/auth-service/facebook

Authenticate with Facebook

2. /api/auth-service/facebook/cb

Callback after authenticating with Facebook. Redirect to /dashboard on success, to /login on failure.

3. /api/user-manager

Proxy to user-manager

4. /api/watch-manager

Proxy to watch-manager

5. /api/scheduler

Proxy to scheduler

6. /api/crawler

Proxy to crawler

7. /api/notification-service

Proxy to notification-service

About

Night Watch web app

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors