Skip to content

uhasselt-students/alphatron-proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

alphatron-proxy

This is the proxy server between Slack and Alphatron. Since Alphatron is hosted using Firebase Functions on the free Spark plan, outgoing requests to third parties are disabled. However, POST requests to Slack are needed for a bot to be able to respond to events. For that reason, we send Slack events to this proxy server rather than directly to Alphatron. When the proxy server forwards the message to Firebase, it also waits for a HTTP response, which circumvents the outgoing requests limitation. The response can contain multiple POST requests to Slack, stored in JSON. The proxy server parses these requests and sends them to Slack one by one.

About

The proxy server between Slack and Alphatron.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published