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
type Contract { | |
_id: ID! | |
createdAt: DateTime! | |
updatedAt: DateTime! | |
startDate: DateTime | |
endDate: DateTime | |
meta: JSON | |
contractType: Contracttype | |
files(sort: String, limit: Int, start: Int, where: JSON): [UploadFile] | |
} |
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
{ | |
"data": { | |
"__schema": { | |
"queryType": { | |
"name": "Query" | |
}, | |
"mutationType": null, | |
"subscriptionType": null, | |
"types": [{ | |
"kind": "OBJECT", |
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
$ node-gyp rebuild --msvs_version=2013 | |
gyp info it worked if it ends with ok | |
gyp info using node-gyp@3.5.0 | |
gyp info using node@6.9.1 | win32 | x64 | |
gyp info spawn C:\Python27\python.EXE | |
gyp info spawn args [ 'C:\\Program Files (x86)\\Nodist\\v-x64\\6.9.1\\node_modules\\node-gyp\\gyp\\gyp_main.py', | |
gyp info spawn args 'binding.gyp', | |
gyp info spawn args '-f', | |
gyp info spawn args 'msvs', | |
gyp info spawn args '-G', |
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
$ node-gyp rebuild --msvs_version=2012 | |
gyp info it worked if it ends with ok | |
gyp info using node-gyp@3.5.0 | |
gyp info using node@6.9.1 | win32 | x64 | |
gyp info spawn C:\Python27\python.EXE | |
gyp info spawn args [ 'C:\\Program Files (x86)\\Nodist\\v-x64\\6.9.1\\node_modules\\node-gyp\\gyp\\gyp_main.py', | |
gyp info spawn args 'binding.gyp', | |
gyp info spawn args '-f', | |
gyp info spawn args 'msvs', | |
gyp info spawn args '-G', |
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
$ npm install | |
> sophis-c-client@0.0.0 install C:\development\ged\sophis-c-client | |
> node-gyp rebuild --msvs_version=2015 | |
C:\development\ged\sophis-c-client>if not defined npm_config_node_gyp (node "C:\Program Files (x86)\Nodist\npmv\3.10.8\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild --msvs_version=2015 ) else (node "" rebuild --msvs_version=2015 ) | |
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch. | |
node_api.cc | |
c:\users\waltem7\.node-gyp\6.9.4\include\node\v8.h(345): error C2988: unrecognizable template declaration/definition [C:\development\ged\sophis-c-c lient\node_modules\node-addon-api\src\node-api.vcxproj] |
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
$ node-gyp rebuild --msvs_version=2013 | |
gyp info it worked if it ends with ok | |
gyp info using node-gyp@3.5.0 | |
gyp info using node@6.9.1 | win32 | x64 | |
gyp info spawn C:\Python27\python.EXE | |
gyp info spawn args [ 'C:\\Program Files (x86)\\Nodist\\v-x64\\6.9.1\\node_modules\\node-gyp\\gyp\\gyp_main.py', | |
gyp info spawn args 'binding.gyp', | |
gyp info spawn args '-f', | |
gyp info spawn args 'msvs', | |
gyp info spawn args '-G', |
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
A clean way to structure your git branches! | |
Git-flow is a process for managing changes in Git that was created by Vincent Driessen and accompanied by some Git extensions | |
for managing that flow. | |
The general idea behind git-flow is to have several separate branches that always exist, each for a different purpose: master, | |
development, feature, release, and hotfix. | |
The process of feature or bug development flows from one branch into another before it’s finally released. |
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 EventEmitter = require('events').EventEmitter; | |
var log = require('debug')('mongo'); | |
var client = require('mongodb').MongoClient; | |
var util = require('util'); | |
function Mongo () { | |
EventEmitter.call(this); | |
} | |
util.inherits(Mongo, EventEmitter); |
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 mongoose from '../mongo'; | |
import bcrypt from 'bcrypt'; | |
var userSchema = mongoose.Schema({ | |
email: { type: String, index: true }, | |
fullName: String, | |
isAdmin: { type: Boolean, index: true }, | |
password: { type: String, index: true } | |
}); |
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
Arguments: | |
/usr/local/bin/node /usr/local/bin/yarn install | |
PATH: | |
/usr/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/usr/local/Cellar/rabbitmq/3.6.1/sbin | |
Yarn version: | |
0.17.6 | |
Node version: |
NewerOlder