Skip to content

Latest commit

 

History

History
42 lines (29 loc) · 1.23 KB

README.md

File metadata and controls

42 lines (29 loc) · 1.23 KB

Christmas Wishlist WebApp

An academic project for Distributed Systems (CS-GY-9223) at NYU Tandon with Prof Gustavo Sandoval

Objective: To develop a distributed and reliable backend in support of a simple social media application.

Our application is a wishlist tool where users can login, create posts, follow other users, and view posts of the people they follow. The webserver, written in Go, interacts with the client using gRPCs. CoreOS, an open source Raft implementation, is used in the backend to provide consensus for the raft nodes that are spun up locally.

Please see the Project Prompt for more details.

Instructions To Run App

    cd welcome-app/src/go.etcd.io/etcd/contrib/raftexample
    goreman start

    cd welcome-app
    bash setup.sh
    go run main.go
    go run server.go

Instructions To Run Tests

Must run setup.sh first before running the following tests.

    cd welcome-app/login
    go test -v

    cd welcome-app/user
    go test -v

    cd welcome-app/feed
    go test -v    

To Access the App

Open the browser and go to

    http://localhost:8080/welcome