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

Make sure Express http servers and clients work #4

Open
jtremback opened this issue Jun 1, 2016 · 0 comments
Open

Make sure Express http servers and clients work #4

jtremback opened this issue Jun 1, 2016 · 0 comments

Comments

@jtremback
Copy link
Owner

jtremback commented Jun 1, 2016

All of the magic happens in ./offchain/logic.js/. logic.js is designed to be called by the http servers in ./offchain/servers/ when they receive http calls from the CLI and the counterparty.

Currently, logic.js is being tested by consuming a fake server created in ./offchain/test/setup.js by the function fakePostFactory. This simulates the http servers and the internet and lets two instances of logic.js talk to each other.

We need to make sure that the actual http servers work as well. This may have some interplay with #3, as we may want to create a shell script or something else that spawns two whole instances of the entire app and has them talk to each other over localhost.

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

1 participant