Skip to content

Latest commit

 

History

History
9 lines (8 loc) · 688 Bytes

README.md

File metadata and controls

9 lines (8 loc) · 688 Bytes

Two Node Apps, as websocket client and server

Simple Node to Node servers web-sockets communication. Both, server and client are actually node projects, and both are http servers, but the folder server is a websocket server, and client a websocket client.

  • client has a simple CRUD example with express, mongoose and Mlab;
    • change your database connection data at: client.js
  • server is a REST API and only handles the Websockets through API;
    • SSL with a test certificate, to get https and wss (secure connections);
    • Websockt messages are controlled by Rest endpoints (I've been using postman)
    • Send files to specific client;