This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var express = require('express'); | |
var path = require('path'); | |
var logger = require('morgan'); | |
var cookieParser = require('cookie-parser'); | |
var bodyParser = require('body-parser'); | |
var app = express(); | |
app.use(logger('dev')); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import storeUpdates from './storeUpdates'; | |
export const STORE = { | |
ACTION_STORE: { | |
count: 999, | |
init: false, | |
}, | |
DATA_STORE: {}, | |
func: { | |
emit: (key, data) => { |