Skip to content

Make sure Express http servers and clients work #4

@jtremback

Description

@jtremback

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions