Coder Social home page Coder Social logo

epns-showrunners-staging-archive's Introduction

EPNS Showrunners (Server)

The EPNS Showrunners handles the channels created and maintaned by us. It also shows how easy it is to interact with the protocol to build highly customized notifications for your dApp, smart contracts or even centralized services.

Installation and Set Up Guide

  • Install docker
  • Clone the repo git clone https://github.com/ethereum-push-notification-service/epns-showrunners-staging.git
  • Open the root folder in a terminal and enter docker-compose up. This initalises mongodb, redis and ipfs local instances
  • Open the root folder in another terminal and enter npm install npm start

To exit

  • To stop running the showrunners server, press Ctrl + C
  • To stop running the docker, press Ctrl + C and enter docker-compose down

Showrunner Channels

  • To subscribe to channels, please visit our Alpha dApp
  • Currently notifications can be recieved through our Google Play Alpha App
  • The alpha protocol and product are working and are in ropsten network
  • Have an idea for protocol or product? Awesome! get in touch by joining our Telegram Group or following us on Twitter

Technical Details

Following definitions are used in the rest of the spec to refer to a particular category or service.

Term Description
Showrunners Showrunners are Channels on EPNS notification protocol that are created and maintained by us

Tech Specs

The Showrunners run on node.js server and are modularized on the ideas and architecture of Bulletproof NodeJS, the essential features in the architeture are as follows:

  • config defines all the necessary configuration
  • Jobs is used to handle waking up different channels for various purpose. Very useful in sending notifications from channel at a specific interval
  • dbListener can be used to listen to and trigger functions on DB changes, we have left the interpretation and an example over there for whoever wants to use them
  • showrunners are the actual channels and contain logic which is required for them to construct notification according to their use cases
  • middlewares and routes will probably not be active on your production server but are given to test the channel in development mode. for example: triggering functions using postman or similar service and seeing the response
  • database the architecture has been changed from MongoDB to mysql to show how easy it is to have either of the database if required

Credits

External Services

We would need external services of:

For local ease of development, we make use of Docker.

epns-showrunners-staging-archive's People

Contributors

dumebi avatar aiswaryawalter avatar c-n-o-t-e avatar jafcr avatar akp111 avatar harshrajat avatar ayushm2003 avatar incrypto32 avatar

Stargazers

 avatar  avatar

Watchers

James Cloos avatar  avatar  avatar  avatar

epns-showrunners-staging-archive's Issues

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.