GithubHelp home page GithubHelp logo

bot-jcris / ine-votation-distributed-system Goto Github PK

View Code? Open in Web Editor NEW

This project forked from dsd-telcel-escom/ine-votation-distributed-system

0.0 1.0 0.0 1.46 MB

This is distrubuted system school project simulating a SMS distributed solution for Mexco INE votation using C++ UDP Sockets and SQLite

License: MIT License

C++ 44.03% JavaScript 22.00% CSS 9.60% HTML 14.63% C 8.68% Makefile 1.07%

ine-votation-distributed-system's Introduction

INE-Votation-Distributed-System

This is distrubuted system project simulating a SMS distributed solution for Mexico INE votation using C++ UDP Sockets and SQLite

Distribution

Web Server

Server that listens UDP request from votation and sends updates to web clients through socket.io.

Prerequisites

Installation

  • git clone <repository-url> this repository
  • change into the new directory
  • cd web-server
  • npm install

Configuration

  • open config.json file
  • update udp, http and express default server settings
{
	"udp": {
		"host": "0.0.0.0",
		"port": 7777
	},
	"http": {
		"host": "0.0.0.0",
		"port": 8080
	},
	"express": {
		"host": "0.0.0.0",
		"port": 8081
	}
}

Running

Web Client

Client that listens web server updates from votation through socket.io.

Prerequisites

Installation

  • git clone <repository-url> this repository
  • change into the new directory
  • cd web-client
  • npm install node-static

Configuration

  • open index.js file
  • modify app socket and http configuration vars
{
	...
	socketURL : 'http://localhost:8080',
	httpURL : 'http://localhost:8081',
	...
}

Running

Preview

ine-votation-distributed-system's People

Contributors

bot-jcris avatar jazijaziel avatar sguerra avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.