Skip to content

cindyhy98/Peerster

Repository files navigation

CS438

Go test Go lint

Homework material for the "Distributed System Engineering" course.

Provided by the DEDIS lab at EPFL.

Run the tests

See commands in the Makefile. For example: make test.

Quick setup

Install go >= 1.19.

Run a node:

cd gui
go run mod.go start

Then open the web GUI page gui/web/index.html and enter the peer's proxy address provided by the peer's log: proxy server is ready to handle requests at '127.0.0.1:xxxx'. You can run as many peers as wanted and connect them together using the "routing table" > "add peer" section in the WEB GUI.

Screenshots

  1. Connect to a peer's proxy

  1. Add a peer

  1. Exchange chat messages