Distributed Social Network (yet to be named) is a MakeBU project.
- Emmanuel Amponsah
- Hayato Nakamura
- Joseph Lai
- Ken Garber
- Shoki Ko
- William Pine
- User starts the program (their server), and it either creates its own network or joins a specified network.
- Server goes into an infinite loop to support two services:
- 1: network communications, and
- 2: user interface
- User interface allows the user to:
- 1: view all chatrooms, view and send messages in chatrooms, and
- 2: view and set their identity.
- Database layer supports the server side in order to store data persistently and recall data
- Python server configuration and load visualization
- C++ database compression tool
- Server
- Network Communication
- Local User Interface
- User Interface
- Local server
- Front end (in browser)
- Database layer
- Have Go installed
- Navigate to the project repository
- Set your GOPATH variable to that directory. You can do this with
GOPATH=$(pwd)
on mac or linux. There's probably a way on Windows, too. - Use
go build cli
to build the project - Run the program with one of two commands - the "start" command if you're starting a new network, or the "join" command if you're joining a network. The arguments are self explanatory.
- ./cli start myIpAddr myPort myName
- ./cli join friendIpAddr friendPort myIpAddr myPort myName
- Now type and hit enter to send messages!