Skip to content

Instantly share code, notes, and snippets.

export default class NgReduxFake {
private selectedState: any;
private target: any;
private mapState: Function;
push(selectedState: any) {
if (!_.isPlainObject(selectedState)) {
throw 'selectedState must be a plain object';
}
var express = require("express");
// Create the API application.
var api = express();
api.get("/v1/money", function(req, res) {
res.json({ "bling": "$$$" });
});
module.exports = api;