Code Monkey home page Code Monkey logo

caps's Introduction

Caps

Codefellows Lab 12 - Socket.io

Overview

  • In Phase 2, we’ll be changing the underlying networking implementation of our CAPS system from using node events to using a library called socket.io so that we can do networked events. Socket.io manages the connection pool for us, makes broadcasting much easier to operate, and works well both on the terminal (between servers) and with web clients.

  • The core functionality we’ve already built remains the same. The difference in this phase is that we’ll be creating a networking layer. As such, the user stories that speak to application functionality remain unchanged, but a new set theme emerges to get us through the refactoring.

    • As a vendor, I want to alert the system when I have a package to be picked up

    • As a driver, I want to be notified when there is a package to be delivered

    • As a driver, I want to alert the system when I have picked up a package and it is in transit

    • As a driver, I want to alert the system when a package has been delivered

    • As a vendor, I want to be notified when my package has been delivered

    • And as developers, here are some of the development stories that are relevant to the above

      • As a developer, I want to create network event driven system using Socket.io so that I can write code that responds to events originating from both servers and web applications

UML

UML - Lab 12

Instructions

  • Clone Repo
    • NPM install in each subdirectory (driver, server, vendor)
    • Run npm (.js) for each subdirectory to run demo app

Resources

  • Collaborated with: Carly Dekock, Jason Quaglia, Jason Dormier, William Moreno, Seid MO

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.