A Node API sitting between PySyft/syft.js on the server and syft.js on the client.
- Install Redis to your computer and have it running in the background (using Homebrew)
- Install and run MongoDB locally
npm install
npm run seed
(if you want to have a sample protocol put into the database)npm start
At this point you'll have a socket server running locally on the port of your specification (defaults to 3000). This project includes:
- Full support for hot reloading (meaning you can save your changes and the server will restart automatically)
- Full support for ES5/6/7 via Babel 7 (feel free to write in the newer Javascript syntax)
- Prettier running in the background (all code contributed should be syntatically identical from developer to developer - feel free to install the plugin for the editor of your choice).
npm install
npm run build
npm run serve