Skip to content

plliao/DSProject

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Distributed System Final Project

NYU Tandon 2018 Distributed System Final Project

Instructor: Gustavo Sandoval

Members

Name NID Email
PEI-LUN LIAO N18410090 pll273@nyu.edu
I-TING CHEN N19037964 itc233@nyu.edu

Demo Slide

https://docs.google.com/presentation/d/1XXrme0sOy5B8qAf9U2GoLpeiJQTffjy2gWrOLNwxNrE/edit?usp=sharing

Verison

Assignment Verison
Part 1: Basic web app 0.1.0
Part 2: Separating Front End and Back End 0.2.0
Part 3: Replicated Back End 0.3.1
Part 4: Project Demo 0.4.0

Usage

  1. Set up GOPATH

    export GOPATH=$YOUR_PATH_TO_DSProject/DSProject

  2. Build web applications

    go build frontEnd.go

    go build backEnd.go

  3. Serve the applications

    Serve the backEnd server first.

    ./backEnd -id id_in_config -config config_file

    ./frontEnd -port your_port -config config_file

    See more instructions by

    ./backEnd -h

    ./frontEnd -h

API

  • Login and Signup

    The entry of the web application is on here with default port number 8811.

    http://frontEnd:port/login/