Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create POST request handler for chat messages #3

Open
jwrichard opened this issue Jul 31, 2016 · 3 comments
Open

Create POST request handler for chat messages #3

jwrichard opened this issue Jul 31, 2016 · 3 comments

Comments

@jwrichard
Copy link
Owner

Messages from our apps chat should make a POST call via AJAX to a route on our server which in turn can be picked up by the master go app.

/var/www/html/index.html will have the chat app

Idea:

  • Each chat message simply appends a line onto a text file which is a log of the latest chat messages
  • Each cycle the master reads in that text file, splits it by newlines, then clears it
@jwrichard
Copy link
Owner Author

Coincides with Issue #4

@MisterPotter
Copy link

This is just the python handler to pass the information off to the go applications and store the response?

@jwrichard
Copy link
Owner Author

Yes! Well, just to pass the chat messages off to the go app. And well the website too I guess. We need a chat system of some type, and also be able to export the messages to the go app in regular intervals. Could be done an assorted amount of ways really.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants