Skip to content

sidistic/Wishlist-app-using-Raft

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published