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
/** | |
* Sample React Native App | |
* https://github.com/facebook/react-native | |
* @flow | |
*/ | |
import React, { Component, PureComponent } from 'react'; | |
import { | |
StyleSheet, | |
Text, |
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
/** | |
* Sample React Native App | |
* https://github.com/facebook/react-native | |
* @flow | |
*/ | |
import React, { Component } from 'react'; | |
import { | |
Platform, | |
StyleSheet, |
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
/** | |
* Sample React Native App | |
* https://github.com/facebook/react-native | |
* | |
* @format | |
* @flow | |
*/ | |
import React, { Component } from "react"; | |
import { |
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
15 | |
[[45,["noop"]]]122 | |
[[46,[{ | |
"targetChange": { | |
"resumeToken": "CgkIr56e1t2B5AI=", | |
"readTime": "2019-08-14T06:27:43.039279Z" | |
} | |
} | |
]]]5800 | |
[[47,[{ |
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
const Client = require('fabric-client'); | |
const myClient = require('./index.js'); | |
var await = require('await') | |
const fs = require('fs'); | |
const path = require('path'); | |
const org1 = 'org1'; | |
const org2 = 'org2'; | |
const org3 = 'org3'; |
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
const fs = require('fs'); | |
const path = require('path'); | |
const Client = require('fabric-client'); | |
var await = require('await') | |
const CHANNEL_1_PATH = './ksachdeva-exp-channel-1.tx'; | |
const KEY_STORE_PATH_ADMIN = './keystore/admin'; | |
const ORDERER_URL = 'grpcs://35.244.39.147:7050'; | |
const ORDERER_TLS_CAROOT_PATH = './crypto-config/ordererOrganizations/ksachdeva-exp.com/orderers/orderer.ksachdeva-exp.com/tls/ca.crt'; | |
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
/opt/go/src/runtime/asm_amd64.s:2361 | |
2018-11-10 06:57:56.466 UTC [endorser] callChaincode -> INFO 050 [mychannel][c740ecda] Entry chaincode: name:"fabcar" | |
2018-11-10 06:57:56.470 UTC [endorser] callChaincode -> INFO 051 [mychannel][c740ecda] Exit chaincode: name:"fabcar" (4ms) | |
2018-11-10 06:57:58.581 UTC [gossip/privdata] StoreBlock -> INFO 052 [mychannel] Received block [4] from buffer | |
2018-11-10 06:57:58.592 UTC [committer/txvalidator] Validate -> INFO 053 [mychannel] Validated block [4] in 11ms | |
2018-11-10 06:57:58.811 UTC [kvledger] CommitWithPvtData -> INFO 054 [mychannel] Committed block [4] with 1 transaction(s) in 217ms (state_validation=20ms block_commit=152ms state_commit=17ms) | |
2018-11-10 06:58:33.040 UTC [endorser] callChaincode -> INFO 055 [mychannel][2e3d784d] Entry chaincode: name:"fabcar" | |
2018-11-10 06:58:33.053 UTC [endorser] callChaincode -> INFO 056 [mychannel][2e3d784d] Exit chaincode: name:"fabcar" (14ms) | |
2018-11-10 06:58:33.054 UTC [endorser] SimulateProposal -> ERRO 057 [mychannel][2 |
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 webpack from 'webpack'; | |
var ExtractTextPlugin = require('extract-text-webpack-plugin'); | |
module.exports = { | |
entry : './client/index.js', | |
output : { | |
path : __dirname + '/public', | |
filename: 'bundle.js', | |
chunkFilename: '[name].bundle.js', | |
publicPath : __dirname + '/public', |
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 express from 'express'; | |
import mongoose from 'mongoose'; | |
import bodyParser from 'body-parser'; | |
import jwt from 'jsonwebtoken'; | |
import path from 'path'; | |
import fileUpload from 'express-fileupload'; | |
import sassMiddleware from 'node-sass-middleware'; | |
import React from 'react'; | |
import { StaticRouter } from 'react-router-dom'; | |
import ReactDomServer from 'react-dom/server'; |
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
{ | |
"name": "asc-backend", | |
"version": "1.0.0", | |
"description": "", | |
"main": "index.js", | |
"scripts": { | |
"start": "NODE_ENV=development nodemon --exec babel-node server/server.js --ignore public/", | |
"webpack": "webpack -wd ", | |
"build-server": "webpack --config webpack.server.js -wd", | |
"built": "babel server.js -d build" |