austincunningham / fh-sync-server-client

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FeedHenry Sync server and client

To install git clone this repo then cd into the new directory and run

    npm install

Dependencies

You will need a local Mongodb server and Redis server for information on setting up these

For Mongodb see

https://docs.mongodb.com/manual/installation/

For Redis see

https://redis.io/topics/quickstart

Getting Started

To run the server

    node app

Response

    Example app listening on port 3000!
    sync ready
    Sync no error on startup
    

To run the client open ./public/index.html in a browser when the server is running

You won't see anything running in the browser until you check the developer tools (ctrl/shift/i) Check the network tabs and console tabs to see sync in action.

For more information on browser developer tools see

https://developer.chrome.com/devtools

https://developer.mozilla.org/en-US/docs/Tools/Tools_Toolbox

About


Languages

Language:JavaScript 99.4%Language:HTML 0.6%