├── apollo
├── .gitignore
├── .meteor
│ ├── .gitignore
│ ├── release
│ ├── platforms
│ ├── .id
│ └── .finished-upgraders
├── client
│ └── init.js
├── server
│ └── init.js
├── .vscode
│ └── settings.json
├── imports
│ ├── startup
│ │ └── server
│ │ │ ├── index.js
│ │ │ └── register-api.js
│ ├── api
│ │ ├── users
│ │ │ ├── User.graphql
│ │ │ └── resolvers.js
│ │ ├── goals
│ │ │ ├── goals.js
│ │ │ ├── Goal.graphql
│ │ │ └── resolvers.js
│ │ └── resolutions
│ │ │ ├── resolutions.js
│ │ │ └── Resolutions.graphql
│ └── ui
│ │ ├── LoginForm.js
│ │ └── RegisterForm.js
├── .babelrc
├── index.html
└── package.json
├── apollo2
├── .gitignore
├── .meteor
│ ├── .gitignore
│ ├── release
│ ├── platforms
│ ├── .id
│ └── .finished-upgraders
├── client
│ └── init.js
├── server
│ └── init.js
├── .vscode
│ └── settings.json
├── imports
│ ├── startup
│ │ └── server
│ │ │ ├── index.js
│ │ │ └── register-api.js
│ ├── api
│ │ ├── users
│ │ │ ├── User.graphql
│ │ │ └── resolvers.js
│ │ ├── goals
│ │ │ ├── goals.js
│ │ │ ├── Goal.graphql
│ │ │ └── resolvers.js
│ │ └── resolutions
│ │ │ ├── resolutions.js
│ │ │ ├── Resolutions.graphql
│ │ │ └── resolvers.js
│ └── ui
│ │ ├── LoginForm.js
│ │ └── RegisterForm.js
├── index.html
└── .babelrc
├── end of #2
├── .gitignore
├── .meteor
│ ├── .gitignore
│ ├── release
│ ├── platforms
│ ├── .id
│ └── .finished-upgraders
├── .vscode
│ └── settings.json
├── index.html
└── package.json
├── end of #3
├── .gitignore
├── .meteor
│ ├── .gitignore
│ ├── release
│ ├── platforms
│ ├── .id
│ └── .finished-upgraders
├── .vscode
│ └── settings.json
├── client
│ └── init.js
├── imports
│ ├── ui
│ │ └── App.js
│ └── startup
│ │ └── client
│ │ └── index.js
├── index.html
└── package.json
├── end of #4
├── .gitignore
├── .meteor
│ ├── .gitignore
│ ├── release
│ ├── platforms
│ ├── .id
│ └── .finished-upgraders
├── .vscode
│ └── settings.json
├── client
│ └── init.js
├── server
│ └── init.js
├── imports
│ ├── ui
│ │ └── App.js
│ └── startup
│ │ ├── server
│ │ └── index.js
│ │ └── client
│ │ └── index.js
├── index.html
└── package.json
├── end of #5
├── .gitignore
├── .meteor
│ ├── .gitignore
│ ├── release
│ ├── platforms
│ ├── .id
│ └── .finished-upgraders
├── .vscode
│ └── settings.json
├── client
│ └── init.js
├── server
│ └── init.js
├── imports
│ ├── ui
│ │ └── App.js
│ └── startup
│ │ ├── client
│ │ └── index.js
│ │ └── server
│ │ └── index.js
├── index.html
└── package.json
├── end of #6
├── .gitignore
├── .meteor
│ ├── .gitignore
│ ├── release
│ ├── platforms
│ ├── .id
│ └── .finished-upgraders
├── .vscode
│ └── settings.json
├── client
│ └── init.js
├── server
│ └── init.js
├── imports
│ ├── ui
│ │ └── App.js
│ └── startup
│ │ ├── server
│ │ └── index.js
│ │ └── client
│ │ └── index.js
├── index.html
└── package.json
├── end of #7
├── .gitignore
├── .meteor
│ ├── .gitignore
│ ├── release
│ ├── platforms
│ ├── .id
│ └── .finished-upgraders
├── .vscode
│ └── settings.json
├── client
│ └── init.js
├── server
│ └── init.js
├── index.html
├── imports
│ ├── ui
│ │ └── App.js
│ └── startup
│ │ ├── server
│ │ └── index.js
│ │ └── client
│ │ └── index.js
└── package.json
├── end of #8
├── .gitignore
├── .meteor
│ ├── .gitignore
│ ├── release
│ ├── platforms
│ ├── .id
│ └── .finished-upgraders
├── .vscode
│ └── settings.json
├── client
│ └── init.js
├── server
│ └── init.js
├── imports
│ ├── startup
│ │ ├── server
│ │ │ ├── index.js
│ │ │ └── register-api.js
│ │ ├── .DS_Store
│ │ └── client
│ │ │ └── index.js
│ ├── .DS_Store
│ ├── api
│ │ └── resolutions
│ │ │ └── Resolutions.graphql
│ └── ui
│ │ └── App.js
├── .babelrc
├── .DS_Store
├── index.html
└── package.json
├── end of #10
├── .gitignore
├── .meteor
│ ├── .gitignore
│ ├── release
│ ├── platforms
│ ├── .id
│ └── .finished-upgraders
├── .vscode
│ └── settings.json
├── client
│ └── init.js
├── server
│ └── init.js
├── imports
│ ├── startup
│ │ ├── server
│ │ │ ├── index.js
│ │ │ └── register-api.js
│ │ ├── .DS_Store
│ │ └── client
│ │ │ └── index.js
│ ├── .DS_Store
│ ├── api
│ │ └── resolutions
│ │ │ ├── Resolutions.graphql
│ │ │ └── resolvers.js
│ └── ui
│ │ └── App.js
├── .babelrc
├── .DS_Store
├── index.html
└── package.json
├── end of #11
├── .gitignore
├── .meteor
│ ├── .gitignore
│ ├── release
│ ├── platforms
│ ├── .id
│ └── .finished-upgraders
├── .vscode
│ └── settings.json
├── client
│ └── init.js
├── server
│ └── init.js
├── imports
│ ├── startup
│ │ ├── server
│ │ │ ├── index.js
│ │ │ └── register-api.js
│ │ ├── .DS_Store
│ │ └── client
│ │ │ └── index.js
│ ├── .DS_Store
│ ├── api
│ │ └── resolutions
│ │ │ ├── Resolutions.graphql
│ │ │ ├── resolutions.js
│ │ │ └── resolvers.js
│ └── ui
│ │ └── App.js
├── .babelrc
├── .DS_Store
├── index.html
└── package.json
├── end of #12
├── .gitignore
├── .meteor
│ ├── .gitignore
│ ├── release
│ ├── platforms
│ ├── .id
│ └── .finished-upgraders
├── .vscode
│ └── settings.json
├── client
│ └── init.js
├── server
│ └── init.js
├── imports
│ ├── startup
│ │ ├── server
│ │ │ ├── index.js
│ │ │ └── register-api.js
│ │ ├── .DS_Store
│ │ └── client
│ │ │ └── index.js
│ ├── .DS_Store
│ ├── api
│ │ └── resolutions
│ │ │ ├── resolutions.js
│ │ │ ├── Resolutions.graphql
│ │ │ └── resolvers.js
│ └── ui
│ │ ├── App.js
│ │ └── ResolutionForm.js
├── .babelrc
├── .DS_Store
├── index.html
└── package.json
├── end of #13
├── .gitignore
├── .meteor
│ ├── .gitignore
│ ├── release
│ ├── platforms
│ ├── .id
│ └── .finished-upgraders
├── .vscode
│ └── settings.json
├── client
│ └── init.js
├── server
│ └── init.js
├── imports
│ ├── startup
│ │ ├── server
│ │ │ ├── index.js
│ │ │ └── register-api.js
│ │ └── client
│ │ │ └── index.js
│ ├── api
│ │ └── resolutions
│ │ │ ├── resolutions.js
│ │ │ ├── Resolutions.graphql
│ │ │ └── resolvers.js
│ └── ui
│ │ └── App.js
├── .babelrc
├── index.html
└── package.json
├── end of #14
├── .gitignore
├── .meteor
│ ├── .gitignore
│ ├── release
│ ├── platforms
│ ├── .id
│ └── .finished-upgraders
├── .vscode
│ └── settings.json
├── client
│ └── init.js
├── server
│ └── init.js
├── imports
│ ├── startup
│ │ ├── server
│ │ │ ├── index.js
│ │ │ └── register-api.js
│ │ └── client
│ │ │ └── index.js
│ ├── api
│ │ └── resolutions
│ │ │ ├── resolutions.js
│ │ │ ├── Resolutions.graphql
│ │ │ └── resolvers.js
│ └── ui
│ │ └── App.js
├── .babelrc
├── index.html
└── package.json
├── end of #15
├── .gitignore
├── .meteor
│ ├── .gitignore
│ ├── release
│ ├── platforms
│ ├── .id
│ └── .finished-upgraders
├── .vscode
│ └── settings.json
├── client
│ └── init.js
├── server
│ └── init.js
├── imports
│ ├── startup
│ │ ├── server
│ │ │ ├── index.js
│ │ │ └── register-api.js
│ │ └── client
│ │ │ └── index.js
│ ├── api
│ │ └── resolutions
│ │ │ ├── resolutions.js
│ │ │ ├── Resolutions.graphql
│ │ │ └── resolvers.js
│ └── ui
│ │ ├── LoginForm.js
│ │ ├── RegisterForm.js
│ │ └── App.js
├── .babelrc
├── index.html
└── package.json
├── end of #16
├── .gitignore
├── .meteor
│ ├── .gitignore
│ ├── release
│ ├── platforms
│ ├── .id
│ └── .finished-upgraders
├── .vscode
│ └── settings.json
├── client
│ └── init.js
├── server
│ └── init.js
├── imports
│ ├── startup
│ │ └── server
│ │ │ ├── index.js
│ │ │ └── register-api.js
│ ├── api
│ │ └── resolutions
│ │ │ ├── resolutions.js
│ │ │ ├── Resolutions.graphql
│ │ │ └── resolvers.js
│ └── ui
│ │ ├── LoginForm.js
│ │ └── RegisterForm.js
├── .babelrc
├── index.html
└── package.json
├── end of #17
├── .gitignore
├── .meteor
│ ├── .gitignore
│ ├── release
│ ├── platforms
│ ├── .id
│ └── .finished-upgraders
├── .vscode
│ └── settings.json
├── client
│ └── init.js
├── server
│ └── init.js
├── imports
│ ├── startup
│ │ └── server
│ │ │ ├── index.js
│ │ │ └── register-api.js
│ ├── api
│ │ └── resolutions
│ │ │ ├── resolutions.js
│ │ │ ├── Resolutions.graphql
│ │ │ └── resolvers.js
│ └── ui
│ │ ├── LoginForm.js
│ │ └── RegisterForm.js
├── .babelrc
├── index.html
└── package.json
├── end of #18
├── .gitignore
├── .meteor
│ ├── .gitignore
│ ├── release
│ ├── platforms
│ ├── .id
│ └── .finished-upgraders
├── .vscode
│ └── settings.json
├── client
│ └── init.js
├── server
│ └── init.js
├── imports
│ ├── startup
│ │ └── server
│ │ │ └── index.js
│ ├── api
│ │ ├── users
│ │ │ ├── User.graphql
│ │ │ └── resolvers.js
│ │ └── resolutions
│ │ │ ├── resolutions.js
│ │ │ ├── Resolutions.graphql
│ │ │ └── resolvers.js
│ └── ui
│ │ ├── LoginForm.js
│ │ └── RegisterForm.js
├── .babelrc
├── index.html
└── package.json
├── end of #19
├── .gitignore
├── .meteor
│ ├── .gitignore
│ ├── release
│ ├── platforms
│ ├── .id
│ └── .finished-upgraders
├── .vscode
│ └── settings.json
├── client
│ └── init.js
├── server
│ └── init.js
├── imports
│ ├── startup
│ │ └── server
│ │ │ ├── index.js
│ │ │ └── register-api.js
│ ├── api
│ │ ├── users
│ │ │ ├── User.graphql
│ │ │ └── resolvers.js
│ │ └── resolutions
│ │ │ ├── resolutions.js
│ │ │ ├── Resolutions.graphql
│ │ │ └── resolvers.js
│ └── ui
│ │ ├── LoginForm.js
│ │ └── RegisterForm.js
├── .babelrc
├── index.html
└── package.json
├── end of #20
├── .gitignore
├── .meteor
│ ├── .gitignore
│ ├── release
│ ├── platforms
│ ├── .id
│ └── .finished-upgraders
├── .vscode
│ └── settings.json
├── client
│ └── init.js
├── server
│ └── init.js
├── imports
│ ├── startup
│ │ └── server
│ │ │ ├── index.js
│ │ │ └── register-api.js
│ ├── api
│ │ ├── users
│ │ │ ├── User.graphql
│ │ │ └── resolvers.js
│ │ └── resolutions
│ │ │ ├── resolutions.js
│ │ │ ├── Resolutions.graphql
│ │ │ └── resolvers.js
│ └── ui
│ │ ├── LoginForm.js
│ │ └── RegisterForm.js
├── .babelrc
├── index.html
└── package.json
├── end of #21
├── .gitignore
├── .meteor
│ ├── .gitignore
│ ├── release
│ ├── platforms
│ ├── .id
│ └── .finished-upgraders
├── .vscode
│ └── settings.json
├── client
│ └── init.js
├── server
│ └── init.js
├── imports
│ ├── startup
│ │ └── server
│ │ │ ├── index.js
│ │ │ └── register-api.js
│ ├── api
│ │ ├── users
│ │ │ ├── User.graphql
│ │ │ └── resolvers.js
│ │ ├── goals
│ │ │ ├── goals.js
│ │ │ ├── Goal.graphql
│ │ │ └── resolvers.js
│ │ └── resolutions
│ │ │ ├── resolutions.js
│ │ │ ├── Resolutions.graphql
│ │ │ └── resolvers.js
│ └── ui
│ │ ├── LoginForm.js
│ │ └── RegisterForm.js
├── .babelrc
├── index.html
└── package.json
├── end of #22
├── .gitignore
├── .meteor
│ ├── .gitignore
│ ├── release
│ ├── platforms
│ ├── .id
│ └── .finished-upgraders
├── .vscode
│ └── settings.json
├── client
│ └── init.js
├── server
│ └── init.js
├── imports
│ ├── startup
│ │ └── server
│ │ │ ├── index.js
│ │ │ └── register-api.js
│ ├── api
│ │ ├── users
│ │ │ ├── User.graphql
│ │ │ └── resolvers.js
│ │ ├── goals
│ │ │ ├── goals.js
│ │ │ ├── Goal.graphql
│ │ │ └── resolvers.js
│ │ └── resolutions
│ │ │ ├── resolutions.js
│ │ │ ├── Resolutions.graphql
│ │ │ └── resolvers.js
│ └── ui
│ │ ├── LoginForm.js
│ │ └── RegisterForm.js
├── .babelrc
├── index.html
└── package.json
├── end of #23
├── .gitignore
├── .meteor
│ ├── .gitignore
│ ├── release
│ ├── platforms
│ ├── .id
│ └── .finished-upgraders
├── .vscode
│ └── settings.json
├── client
│ └── init.js
├── server
│ └── init.js
├── imports
│ ├── startup
│ │ └── server
│ │ │ ├── index.js
│ │ │ └── register-api.js
│ ├── api
│ │ ├── users
│ │ │ ├── User.graphql
│ │ │ └── resolvers.js
│ │ ├── goals
│ │ │ ├── goals.js
│ │ │ ├── Goal.graphql
│ │ │ └── resolvers.js
│ │ └── resolutions
│ │ │ ├── resolutions.js
│ │ │ ├── Resolutions.graphql
│ │ │ └── resolvers.js
│ └── ui
│ │ ├── resolutions
│ │ └── Goal.js
│ │ ├── LoginForm.js
│ │ └── RegisterForm.js
├── .babelrc
├── index.html
└── package.json
├── end of #24
├── .gitignore
├── .meteor
│ ├── .gitignore
│ ├── release
│ ├── platforms
│ ├── .id
│ └── .finished-upgraders
├── .vscode
│ └── settings.json
├── client
│ └── init.js
├── server
│ └── init.js
├── imports
│ ├── startup
│ │ └── server
│ │ │ ├── index.js
│ │ │ └── register-api.js
│ ├── api
│ │ ├── users
│ │ │ ├── User.graphql
│ │ │ └── resolvers.js
│ │ ├── goals
│ │ │ ├── goals.js
│ │ │ ├── Goal.graphql
│ │ │ └── resolvers.js
│ │ └── resolutions
│ │ │ ├── resolutions.js
│ │ │ ├── Resolutions.graphql
│ │ │ └── resolvers.js
│ └── ui
│ │ ├── LoginForm.js
│ │ └── RegisterForm.js
├── .babelrc
├── index.html
└── package.json
├── end of #25
├── .gitignore
├── .meteor
│ ├── .gitignore
│ ├── release
│ ├── platforms
│ ├── .id
│ └── .finished-upgraders
├── .vscode
│ └── settings.json
├── client
│ └── init.js
├── server
│ └── init.js
├── imports
│ ├── startup
│ │ └── server
│ │ │ ├── index.js
│ │ │ └── register-api.js
│ ├── api
│ │ ├── users
│ │ │ ├── User.graphql
│ │ │ └── resolvers.js
│ │ ├── goals
│ │ │ ├── goals.js
│ │ │ ├── Goal.graphql
│ │ │ └── resolvers.js
│ │ └── resolutions
│ │ │ ├── resolutions.js
│ │ │ └── Resolutions.graphql
│ └── ui
│ │ ├── LoginForm.js
│ │ └── RegisterForm.js
├── .babelrc
├── index.html
└── package.json
├── end of #26
├── .gitignore
├── .meteor
│ ├── .gitignore
│ ├── release
│ ├── platforms
│ ├── .id
│ └── .finished-upgraders
├── .vscode
│ └── settings.json
├── client
│ └── init.js
├── server
│ └── init.js
├── imports
│ ├── startup
│ │ └── server
│ │ │ └── index.js
│ ├── api
│ │ ├── users
│ │ │ ├── User.graphql
│ │ │ └── resolvers.js
│ │ ├── goals
│ │ │ ├── goals.js
│ │ │ ├── Goal.graphql
│ │ │ └── resolvers.js
│ │ └── resolutions
│ │ │ ├── resolutions.js
│ │ │ └── Resolutions.graphql
│ └── ui
│ │ ├── LoginForm.js
│ │ └── RegisterForm.js
├── .babelrc
├── index.html
└── package.json
├── end of #27
├── .gitignore
├── .meteor
│ ├── .gitignore
│ ├── release
│ ├── platforms
│ ├── .id
│ └── .finished-upgraders
├── .vscode
│ └── settings.json
├── client
│ └── init.js
├── server
│ └── init.js
├── imports
│ ├── startup
│ │ └── server
│ │ │ └── index.js
│ ├── api
│ │ ├── users
│ │ │ ├── User.graphql
│ │ │ └── resolvers.js
│ │ ├── goals
│ │ │ ├── goals.js
│ │ │ ├── Goal.graphql
│ │ │ └── resolvers.js
│ │ └── resolutions
│ │ │ ├── resolutions.js
│ │ │ └── Resolutions.graphql
│ └── ui
│ │ ├── LoginForm.js
│ │ └── RegisterForm.js
├── .babelrc
├── index.html
└── package.json
├── README.md
└── .gitignore
/apollo/.gitignore:
--------------------------------------------------------------------------------
1 | node_modules/
--------------------------------------------------------------------------------
/apollo2/.gitignore:
--------------------------------------------------------------------------------
1 | node_modules/
--------------------------------------------------------------------------------
/end of #2/.gitignore:
--------------------------------------------------------------------------------
1 | node_modules/
--------------------------------------------------------------------------------
/end of #3/.gitignore:
--------------------------------------------------------------------------------
1 | node_modules/
--------------------------------------------------------------------------------
/end of #4/.gitignore:
--------------------------------------------------------------------------------
1 | node_modules/
--------------------------------------------------------------------------------
/end of #5/.gitignore:
--------------------------------------------------------------------------------
1 | node_modules/
--------------------------------------------------------------------------------
/end of #6/.gitignore:
--------------------------------------------------------------------------------
1 | node_modules/
--------------------------------------------------------------------------------
/end of #7/.gitignore:
--------------------------------------------------------------------------------
1 | node_modules/
--------------------------------------------------------------------------------
/end of #8/.gitignore:
--------------------------------------------------------------------------------
1 | node_modules/
--------------------------------------------------------------------------------
/apollo/.meteor/.gitignore:
--------------------------------------------------------------------------------
1 | local
2 |
--------------------------------------------------------------------------------
/apollo2/.meteor/.gitignore:
--------------------------------------------------------------------------------
1 | local
2 |
--------------------------------------------------------------------------------
/end of #10/.gitignore:
--------------------------------------------------------------------------------
1 | node_modules/
--------------------------------------------------------------------------------
/end of #11/.gitignore:
--------------------------------------------------------------------------------
1 | node_modules/
--------------------------------------------------------------------------------
/end of #12/.gitignore:
--------------------------------------------------------------------------------
1 | node_modules/
--------------------------------------------------------------------------------
/end of #13/.gitignore:
--------------------------------------------------------------------------------
1 | node_modules/
--------------------------------------------------------------------------------
/end of #14/.gitignore:
--------------------------------------------------------------------------------
1 | node_modules/
--------------------------------------------------------------------------------
/end of #15/.gitignore:
--------------------------------------------------------------------------------
1 | node_modules/
--------------------------------------------------------------------------------
/end of #16/.gitignore:
--------------------------------------------------------------------------------
1 | node_modules/
--------------------------------------------------------------------------------
/end of #17/.gitignore:
--------------------------------------------------------------------------------
1 | node_modules/
--------------------------------------------------------------------------------
/end of #18/.gitignore:
--------------------------------------------------------------------------------
1 | node_modules/
--------------------------------------------------------------------------------
/end of #19/.gitignore:
--------------------------------------------------------------------------------
1 | node_modules/
--------------------------------------------------------------------------------
/end of #2/.meteor/.gitignore:
--------------------------------------------------------------------------------
1 | local
2 |
--------------------------------------------------------------------------------
/end of #20/.gitignore:
--------------------------------------------------------------------------------
1 | node_modules/
--------------------------------------------------------------------------------
/end of #21/.gitignore:
--------------------------------------------------------------------------------
1 | node_modules/
--------------------------------------------------------------------------------
/end of #22/.gitignore:
--------------------------------------------------------------------------------
1 | node_modules/
--------------------------------------------------------------------------------
/end of #23/.gitignore:
--------------------------------------------------------------------------------
1 | node_modules/
--------------------------------------------------------------------------------
/end of #24/.gitignore:
--------------------------------------------------------------------------------
1 | node_modules/
--------------------------------------------------------------------------------
/end of #25/.gitignore:
--------------------------------------------------------------------------------
1 | node_modules/
--------------------------------------------------------------------------------
/end of #26/.gitignore:
--------------------------------------------------------------------------------
1 | node_modules/
--------------------------------------------------------------------------------
/end of #27/.gitignore:
--------------------------------------------------------------------------------
1 | node_modules/
--------------------------------------------------------------------------------
/end of #3/.meteor/.gitignore:
--------------------------------------------------------------------------------
1 | local
2 |
--------------------------------------------------------------------------------
/end of #4/.meteor/.gitignore:
--------------------------------------------------------------------------------
1 | local
2 |
--------------------------------------------------------------------------------
/end of #5/.meteor/.gitignore:
--------------------------------------------------------------------------------
1 | local
2 |
--------------------------------------------------------------------------------
/end of #6/.meteor/.gitignore:
--------------------------------------------------------------------------------
1 | local
2 |
--------------------------------------------------------------------------------
/end of #7/.meteor/.gitignore:
--------------------------------------------------------------------------------
1 | local
2 |
--------------------------------------------------------------------------------
/end of #8/.meteor/.gitignore:
--------------------------------------------------------------------------------
1 | local
2 |
--------------------------------------------------------------------------------
/apollo/.meteor/release:
--------------------------------------------------------------------------------
1 | METEOR@1.6.0.1
2 |
--------------------------------------------------------------------------------
/apollo2/.meteor/release:
--------------------------------------------------------------------------------
1 | METEOR@1.6.1
2 |
--------------------------------------------------------------------------------
/end of #10/.meteor/.gitignore:
--------------------------------------------------------------------------------
1 | local
2 |
--------------------------------------------------------------------------------
/end of #11/.meteor/.gitignore:
--------------------------------------------------------------------------------
1 | local
2 |
--------------------------------------------------------------------------------
/end of #12/.meteor/.gitignore:
--------------------------------------------------------------------------------
1 | local
2 |
--------------------------------------------------------------------------------
/end of #13/.meteor/.gitignore:
--------------------------------------------------------------------------------
1 | local
2 |
--------------------------------------------------------------------------------
/end of #14/.meteor/.gitignore:
--------------------------------------------------------------------------------
1 | local
2 |
--------------------------------------------------------------------------------
/end of #15/.meteor/.gitignore:
--------------------------------------------------------------------------------
1 | local
2 |
--------------------------------------------------------------------------------
/end of #16/.meteor/.gitignore:
--------------------------------------------------------------------------------
1 | local
2 |
--------------------------------------------------------------------------------
/end of #17/.meteor/.gitignore:
--------------------------------------------------------------------------------
1 | local
2 |
--------------------------------------------------------------------------------
/end of #18/.meteor/.gitignore:
--------------------------------------------------------------------------------
1 | local
2 |
--------------------------------------------------------------------------------
/end of #19/.meteor/.gitignore:
--------------------------------------------------------------------------------
1 | local
2 |
--------------------------------------------------------------------------------
/end of #20/.meteor/.gitignore:
--------------------------------------------------------------------------------
1 | local
2 |
--------------------------------------------------------------------------------
/end of #21/.meteor/.gitignore:
--------------------------------------------------------------------------------
1 | local
2 |
--------------------------------------------------------------------------------
/end of #22/.meteor/.gitignore:
--------------------------------------------------------------------------------
1 | local
2 |
--------------------------------------------------------------------------------
/end of #23/.meteor/.gitignore:
--------------------------------------------------------------------------------
1 | local
2 |
--------------------------------------------------------------------------------
/end of #24/.meteor/.gitignore:
--------------------------------------------------------------------------------
1 | local
2 |
--------------------------------------------------------------------------------
/end of #25/.meteor/.gitignore:
--------------------------------------------------------------------------------
1 | local
2 |
--------------------------------------------------------------------------------
/end of #26/.meteor/.gitignore:
--------------------------------------------------------------------------------
1 | local
2 |
--------------------------------------------------------------------------------
/end of #27/.meteor/.gitignore:
--------------------------------------------------------------------------------
1 | local
2 |
--------------------------------------------------------------------------------
/apollo/.meteor/platforms:
--------------------------------------------------------------------------------
1 | server
2 | browser
3 |
--------------------------------------------------------------------------------
/apollo2/.meteor/platforms:
--------------------------------------------------------------------------------
1 | server
2 | browser
3 |
--------------------------------------------------------------------------------
/end of #10/.meteor/release:
--------------------------------------------------------------------------------
1 | METEOR@1.6.0.1
2 |
--------------------------------------------------------------------------------
/end of #11/.meteor/release:
--------------------------------------------------------------------------------
1 | METEOR@1.6.0.1
2 |
--------------------------------------------------------------------------------
/end of #12/.meteor/release:
--------------------------------------------------------------------------------
1 | METEOR@1.6.0.1
2 |
--------------------------------------------------------------------------------
/end of #13/.meteor/release:
--------------------------------------------------------------------------------
1 | METEOR@1.6.0.1
2 |
--------------------------------------------------------------------------------
/end of #14/.meteor/release:
--------------------------------------------------------------------------------
1 | METEOR@1.6.0.1
2 |
--------------------------------------------------------------------------------
/end of #15/.meteor/release:
--------------------------------------------------------------------------------
1 | METEOR@1.6.0.1
2 |
--------------------------------------------------------------------------------
/end of #16/.meteor/release:
--------------------------------------------------------------------------------
1 | METEOR@1.6.0.1
2 |
--------------------------------------------------------------------------------
/end of #17/.meteor/release:
--------------------------------------------------------------------------------
1 | METEOR@1.6.0.1
2 |
--------------------------------------------------------------------------------
/end of #18/.meteor/release:
--------------------------------------------------------------------------------
1 | METEOR@1.6.0.1
2 |
--------------------------------------------------------------------------------
/end of #19/.meteor/release:
--------------------------------------------------------------------------------
1 | METEOR@1.6.0.1
2 |
--------------------------------------------------------------------------------
/end of #2/.meteor/release:
--------------------------------------------------------------------------------
1 | METEOR@1.6.0.1
2 |
--------------------------------------------------------------------------------
/end of #20/.meteor/release:
--------------------------------------------------------------------------------
1 | METEOR@1.6.0.1
2 |
--------------------------------------------------------------------------------
/end of #21/.meteor/release:
--------------------------------------------------------------------------------
1 | METEOR@1.6.0.1
2 |
--------------------------------------------------------------------------------
/end of #22/.meteor/release:
--------------------------------------------------------------------------------
1 | METEOR@1.6.0.1
2 |
--------------------------------------------------------------------------------
/end of #23/.meteor/release:
--------------------------------------------------------------------------------
1 | METEOR@1.6.0.1
2 |
--------------------------------------------------------------------------------
/end of #24/.meteor/release:
--------------------------------------------------------------------------------
1 | METEOR@1.6.0.1
2 |
--------------------------------------------------------------------------------
/end of #25/.meteor/release:
--------------------------------------------------------------------------------
1 | METEOR@1.6.0.1
2 |
--------------------------------------------------------------------------------
/end of #26/.meteor/release:
--------------------------------------------------------------------------------
1 | METEOR@1.6.0.1
2 |
--------------------------------------------------------------------------------
/end of #27/.meteor/release:
--------------------------------------------------------------------------------
1 | METEOR@1.6.0.1
2 |
--------------------------------------------------------------------------------
/end of #3/.meteor/release:
--------------------------------------------------------------------------------
1 | METEOR@1.6.0.1
2 |
--------------------------------------------------------------------------------
/end of #4/.meteor/release:
--------------------------------------------------------------------------------
1 | METEOR@1.6.0.1
2 |
--------------------------------------------------------------------------------
/end of #5/.meteor/release:
--------------------------------------------------------------------------------
1 | METEOR@1.6.0.1
2 |
--------------------------------------------------------------------------------
/end of #6/.meteor/release:
--------------------------------------------------------------------------------
1 | METEOR@1.6.0.1
2 |
--------------------------------------------------------------------------------
/end of #7/.meteor/release:
--------------------------------------------------------------------------------
1 | METEOR@1.6.0.1
2 |
--------------------------------------------------------------------------------
/end of #8/.meteor/release:
--------------------------------------------------------------------------------
1 | METEOR@1.6.0.1
2 |
--------------------------------------------------------------------------------
/end of #10/.meteor/platforms:
--------------------------------------------------------------------------------
1 | server
2 | browser
3 |
--------------------------------------------------------------------------------
/end of #11/.meteor/platforms:
--------------------------------------------------------------------------------
1 | server
2 | browser
3 |
--------------------------------------------------------------------------------
/end of #12/.meteor/platforms:
--------------------------------------------------------------------------------
1 | server
2 | browser
3 |
--------------------------------------------------------------------------------
/end of #13/.meteor/platforms:
--------------------------------------------------------------------------------
1 | server
2 | browser
3 |
--------------------------------------------------------------------------------
/end of #14/.meteor/platforms:
--------------------------------------------------------------------------------
1 | server
2 | browser
3 |
--------------------------------------------------------------------------------
/end of #15/.meteor/platforms:
--------------------------------------------------------------------------------
1 | server
2 | browser
3 |
--------------------------------------------------------------------------------
/end of #16/.meteor/platforms:
--------------------------------------------------------------------------------
1 | server
2 | browser
3 |
--------------------------------------------------------------------------------
/end of #17/.meteor/platforms:
--------------------------------------------------------------------------------
1 | server
2 | browser
3 |
--------------------------------------------------------------------------------
/end of #18/.meteor/platforms:
--------------------------------------------------------------------------------
1 | server
2 | browser
3 |
--------------------------------------------------------------------------------
/end of #19/.meteor/platforms:
--------------------------------------------------------------------------------
1 | server
2 | browser
3 |
--------------------------------------------------------------------------------
/end of #2/.meteor/platforms:
--------------------------------------------------------------------------------
1 | server
2 | browser
3 |
--------------------------------------------------------------------------------
/end of #20/.meteor/platforms:
--------------------------------------------------------------------------------
1 | server
2 | browser
3 |
--------------------------------------------------------------------------------
/end of #21/.meteor/platforms:
--------------------------------------------------------------------------------
1 | server
2 | browser
3 |
--------------------------------------------------------------------------------
/end of #22/.meteor/platforms:
--------------------------------------------------------------------------------
1 | server
2 | browser
3 |
--------------------------------------------------------------------------------
/end of #23/.meteor/platforms:
--------------------------------------------------------------------------------
1 | server
2 | browser
3 |
--------------------------------------------------------------------------------
/end of #24/.meteor/platforms:
--------------------------------------------------------------------------------
1 | server
2 | browser
3 |
--------------------------------------------------------------------------------
/end of #25/.meteor/platforms:
--------------------------------------------------------------------------------
1 | server
2 | browser
3 |
--------------------------------------------------------------------------------
/end of #26/.meteor/platforms:
--------------------------------------------------------------------------------
1 | server
2 | browser
3 |
--------------------------------------------------------------------------------
/end of #27/.meteor/platforms:
--------------------------------------------------------------------------------
1 | server
2 | browser
3 |
--------------------------------------------------------------------------------
/end of #3/.meteor/platforms:
--------------------------------------------------------------------------------
1 | server
2 | browser
3 |
--------------------------------------------------------------------------------
/end of #4/.meteor/platforms:
--------------------------------------------------------------------------------
1 | server
2 | browser
3 |
--------------------------------------------------------------------------------
/end of #5/.meteor/platforms:
--------------------------------------------------------------------------------
1 | server
2 | browser
3 |
--------------------------------------------------------------------------------
/end of #6/.meteor/platforms:
--------------------------------------------------------------------------------
1 | server
2 | browser
3 |
--------------------------------------------------------------------------------
/end of #7/.meteor/platforms:
--------------------------------------------------------------------------------
1 | server
2 | browser
3 |
--------------------------------------------------------------------------------
/end of #8/.meteor/platforms:
--------------------------------------------------------------------------------
1 | server
2 | browser
3 |
--------------------------------------------------------------------------------
/apollo/client/init.js:
--------------------------------------------------------------------------------
1 | import "../imports/startup/client";
2 |
--------------------------------------------------------------------------------
/apollo/server/init.js:
--------------------------------------------------------------------------------
1 | import "../imports/startup/server";
2 |
--------------------------------------------------------------------------------
/apollo2/client/init.js:
--------------------------------------------------------------------------------
1 | import "../imports/startup/client";
2 |
--------------------------------------------------------------------------------
/apollo2/server/init.js:
--------------------------------------------------------------------------------
1 | import "../imports/startup/server";
2 |
--------------------------------------------------------------------------------
/apollo/.vscode/settings.json:
--------------------------------------------------------------------------------
1 | {
2 | "editor.fontSize": 26,
3 | }
--------------------------------------------------------------------------------
/apollo/imports/startup/server/index.js:
--------------------------------------------------------------------------------
1 | import "./register-api";
2 |
--------------------------------------------------------------------------------
/apollo2/.vscode/settings.json:
--------------------------------------------------------------------------------
1 | {
2 | "editor.fontSize": 26,
3 | }
--------------------------------------------------------------------------------
/apollo2/imports/startup/server/index.js:
--------------------------------------------------------------------------------
1 | import "./register-api";
2 |
--------------------------------------------------------------------------------
/end of #10/.vscode/settings.json:
--------------------------------------------------------------------------------
1 | {
2 | "editor.fontSize": 26,
3 | }
--------------------------------------------------------------------------------
/end of #10/client/init.js:
--------------------------------------------------------------------------------
1 | import "../imports/startup/client";
2 |
--------------------------------------------------------------------------------
/end of #10/server/init.js:
--------------------------------------------------------------------------------
1 | import "../imports/startup/server";
2 |
--------------------------------------------------------------------------------
/end of #11/.vscode/settings.json:
--------------------------------------------------------------------------------
1 | {
2 | "editor.fontSize": 26,
3 | }
--------------------------------------------------------------------------------
/end of #11/client/init.js:
--------------------------------------------------------------------------------
1 | import "../imports/startup/client";
2 |
--------------------------------------------------------------------------------
/end of #11/server/init.js:
--------------------------------------------------------------------------------
1 | import "../imports/startup/server";
2 |
--------------------------------------------------------------------------------
/end of #12/.vscode/settings.json:
--------------------------------------------------------------------------------
1 | {
2 | "editor.fontSize": 26,
3 | }
--------------------------------------------------------------------------------
/end of #12/client/init.js:
--------------------------------------------------------------------------------
1 | import "../imports/startup/client";
2 |
--------------------------------------------------------------------------------
/end of #12/server/init.js:
--------------------------------------------------------------------------------
1 | import "../imports/startup/server";
2 |
--------------------------------------------------------------------------------
/end of #13/.vscode/settings.json:
--------------------------------------------------------------------------------
1 | {
2 | "editor.fontSize": 26,
3 | }
--------------------------------------------------------------------------------
/end of #13/client/init.js:
--------------------------------------------------------------------------------
1 | import "../imports/startup/client";
2 |
--------------------------------------------------------------------------------
/end of #13/server/init.js:
--------------------------------------------------------------------------------
1 | import "../imports/startup/server";
2 |
--------------------------------------------------------------------------------
/end of #14/.vscode/settings.json:
--------------------------------------------------------------------------------
1 | {
2 | "editor.fontSize": 26,
3 | }
--------------------------------------------------------------------------------
/end of #14/client/init.js:
--------------------------------------------------------------------------------
1 | import "../imports/startup/client";
2 |
--------------------------------------------------------------------------------
/end of #14/server/init.js:
--------------------------------------------------------------------------------
1 | import "../imports/startup/server";
2 |
--------------------------------------------------------------------------------
/end of #15/.vscode/settings.json:
--------------------------------------------------------------------------------
1 | {
2 | "editor.fontSize": 26,
3 | }
--------------------------------------------------------------------------------
/end of #15/client/init.js:
--------------------------------------------------------------------------------
1 | import "../imports/startup/client";
2 |
--------------------------------------------------------------------------------
/end of #15/server/init.js:
--------------------------------------------------------------------------------
1 | import "../imports/startup/server";
2 |
--------------------------------------------------------------------------------
/end of #16/.vscode/settings.json:
--------------------------------------------------------------------------------
1 | {
2 | "editor.fontSize": 26,
3 | }
--------------------------------------------------------------------------------
/end of #16/client/init.js:
--------------------------------------------------------------------------------
1 | import "../imports/startup/client";
2 |
--------------------------------------------------------------------------------
/end of #16/server/init.js:
--------------------------------------------------------------------------------
1 | import "../imports/startup/server";
2 |
--------------------------------------------------------------------------------
/end of #17/.vscode/settings.json:
--------------------------------------------------------------------------------
1 | {
2 | "editor.fontSize": 26,
3 | }
--------------------------------------------------------------------------------
/end of #17/client/init.js:
--------------------------------------------------------------------------------
1 | import "../imports/startup/client";
2 |
--------------------------------------------------------------------------------
/end of #17/server/init.js:
--------------------------------------------------------------------------------
1 | import "../imports/startup/server";
2 |
--------------------------------------------------------------------------------
/end of #18/.vscode/settings.json:
--------------------------------------------------------------------------------
1 | {
2 | "editor.fontSize": 26,
3 | }
--------------------------------------------------------------------------------
/end of #18/client/init.js:
--------------------------------------------------------------------------------
1 | import "../imports/startup/client";
2 |
--------------------------------------------------------------------------------
/end of #18/server/init.js:
--------------------------------------------------------------------------------
1 | import "../imports/startup/server";
2 |
--------------------------------------------------------------------------------
/end of #19/.vscode/settings.json:
--------------------------------------------------------------------------------
1 | {
2 | "editor.fontSize": 26,
3 | }
--------------------------------------------------------------------------------
/end of #19/client/init.js:
--------------------------------------------------------------------------------
1 | import "../imports/startup/client";
2 |
--------------------------------------------------------------------------------
/end of #19/server/init.js:
--------------------------------------------------------------------------------
1 | import "../imports/startup/server";
2 |
--------------------------------------------------------------------------------
/end of #2/.vscode/settings.json:
--------------------------------------------------------------------------------
1 | {
2 | "editor.fontSize": 26,
3 | }
--------------------------------------------------------------------------------
/end of #20/.vscode/settings.json:
--------------------------------------------------------------------------------
1 | {
2 | "editor.fontSize": 26,
3 | }
--------------------------------------------------------------------------------
/end of #20/client/init.js:
--------------------------------------------------------------------------------
1 | import "../imports/startup/client";
2 |
--------------------------------------------------------------------------------
/end of #20/server/init.js:
--------------------------------------------------------------------------------
1 | import "../imports/startup/server";
2 |
--------------------------------------------------------------------------------
/end of #21/.vscode/settings.json:
--------------------------------------------------------------------------------
1 | {
2 | "editor.fontSize": 26,
3 | }
--------------------------------------------------------------------------------
/end of #21/client/init.js:
--------------------------------------------------------------------------------
1 | import "../imports/startup/client";
2 |
--------------------------------------------------------------------------------
/end of #21/server/init.js:
--------------------------------------------------------------------------------
1 | import "../imports/startup/server";
2 |
--------------------------------------------------------------------------------
/end of #22/.vscode/settings.json:
--------------------------------------------------------------------------------
1 | {
2 | "editor.fontSize": 26,
3 | }
--------------------------------------------------------------------------------
/end of #22/client/init.js:
--------------------------------------------------------------------------------
1 | import "../imports/startup/client";
2 |
--------------------------------------------------------------------------------
/end of #22/server/init.js:
--------------------------------------------------------------------------------
1 | import "../imports/startup/server";
2 |
--------------------------------------------------------------------------------
/end of #23/.vscode/settings.json:
--------------------------------------------------------------------------------
1 | {
2 | "editor.fontSize": 26,
3 | }
--------------------------------------------------------------------------------
/end of #23/client/init.js:
--------------------------------------------------------------------------------
1 | import "../imports/startup/client";
2 |
--------------------------------------------------------------------------------
/end of #23/server/init.js:
--------------------------------------------------------------------------------
1 | import "../imports/startup/server";
2 |
--------------------------------------------------------------------------------
/end of #24/.vscode/settings.json:
--------------------------------------------------------------------------------
1 | {
2 | "editor.fontSize": 26,
3 | }
--------------------------------------------------------------------------------
/end of #24/client/init.js:
--------------------------------------------------------------------------------
1 | import "../imports/startup/client";
2 |
--------------------------------------------------------------------------------
/end of #24/server/init.js:
--------------------------------------------------------------------------------
1 | import "../imports/startup/server";
2 |
--------------------------------------------------------------------------------
/end of #25/.vscode/settings.json:
--------------------------------------------------------------------------------
1 | {
2 | "editor.fontSize": 26,
3 | }
--------------------------------------------------------------------------------
/end of #25/client/init.js:
--------------------------------------------------------------------------------
1 | import "../imports/startup/client";
2 |
--------------------------------------------------------------------------------
/end of #25/server/init.js:
--------------------------------------------------------------------------------
1 | import "../imports/startup/server";
2 |
--------------------------------------------------------------------------------
/end of #26/.vscode/settings.json:
--------------------------------------------------------------------------------
1 | {
2 | "editor.fontSize": 26,
3 | }
--------------------------------------------------------------------------------
/end of #26/client/init.js:
--------------------------------------------------------------------------------
1 | import "../imports/startup/client";
2 |
--------------------------------------------------------------------------------
/end of #26/server/init.js:
--------------------------------------------------------------------------------
1 | import "../imports/startup/server";
2 |
--------------------------------------------------------------------------------
/end of #27/.vscode/settings.json:
--------------------------------------------------------------------------------
1 | {
2 | "editor.fontSize": 26,
3 | }
--------------------------------------------------------------------------------
/end of #27/client/init.js:
--------------------------------------------------------------------------------
1 | import "../imports/startup/client";
2 |
--------------------------------------------------------------------------------
/end of #27/server/init.js:
--------------------------------------------------------------------------------
1 | import "../imports/startup/server";
2 |
--------------------------------------------------------------------------------
/end of #3/.vscode/settings.json:
--------------------------------------------------------------------------------
1 | {
2 | "editor.fontSize": 26,
3 | }
--------------------------------------------------------------------------------
/end of #3/client/init.js:
--------------------------------------------------------------------------------
1 | import "../imports/startup/client";
2 |
--------------------------------------------------------------------------------
/end of #4/.vscode/settings.json:
--------------------------------------------------------------------------------
1 | {
2 | "editor.fontSize": 26,
3 | }
--------------------------------------------------------------------------------
/end of #4/client/init.js:
--------------------------------------------------------------------------------
1 | import "../imports/startup/client";
2 |
--------------------------------------------------------------------------------
/end of #4/server/init.js:
--------------------------------------------------------------------------------
1 | import "../imports/startup/server";
2 |
--------------------------------------------------------------------------------
/end of #5/.vscode/settings.json:
--------------------------------------------------------------------------------
1 | {
2 | "editor.fontSize": 26,
3 | }
--------------------------------------------------------------------------------
/end of #5/client/init.js:
--------------------------------------------------------------------------------
1 | import "../imports/startup/client";
2 |
--------------------------------------------------------------------------------
/end of #5/server/init.js:
--------------------------------------------------------------------------------
1 | import "../imports/startup/server";
2 |
--------------------------------------------------------------------------------
/end of #6/.vscode/settings.json:
--------------------------------------------------------------------------------
1 | {
2 | "editor.fontSize": 26,
3 | }
--------------------------------------------------------------------------------
/end of #6/client/init.js:
--------------------------------------------------------------------------------
1 | import "../imports/startup/client";
2 |
--------------------------------------------------------------------------------
/end of #6/server/init.js:
--------------------------------------------------------------------------------
1 | import "../imports/startup/server";
2 |
--------------------------------------------------------------------------------
/end of #7/.vscode/settings.json:
--------------------------------------------------------------------------------
1 | {
2 | "editor.fontSize": 26,
3 | }
--------------------------------------------------------------------------------
/end of #7/client/init.js:
--------------------------------------------------------------------------------
1 | import "../imports/startup/client";
2 |
--------------------------------------------------------------------------------
/end of #7/server/init.js:
--------------------------------------------------------------------------------
1 | import "../imports/startup/server";
2 |
--------------------------------------------------------------------------------
/end of #8/.vscode/settings.json:
--------------------------------------------------------------------------------
1 | {
2 | "editor.fontSize": 26,
3 | }
--------------------------------------------------------------------------------
/end of #8/client/init.js:
--------------------------------------------------------------------------------
1 | import "../imports/startup/client";
2 |
--------------------------------------------------------------------------------
/end of #8/server/init.js:
--------------------------------------------------------------------------------
1 | import "../imports/startup/server";
2 |
--------------------------------------------------------------------------------
/end of #10/imports/startup/server/index.js:
--------------------------------------------------------------------------------
1 | import "./register-api";
2 |
--------------------------------------------------------------------------------
/end of #11/imports/startup/server/index.js:
--------------------------------------------------------------------------------
1 | import "./register-api";
2 |
--------------------------------------------------------------------------------
/end of #12/imports/startup/server/index.js:
--------------------------------------------------------------------------------
1 | import "./register-api";
2 |
--------------------------------------------------------------------------------
/end of #13/imports/startup/server/index.js:
--------------------------------------------------------------------------------
1 | import "./register-api";
2 |
--------------------------------------------------------------------------------
/end of #14/imports/startup/server/index.js:
--------------------------------------------------------------------------------
1 | import "./register-api";
2 |
--------------------------------------------------------------------------------
/end of #15/imports/startup/server/index.js:
--------------------------------------------------------------------------------
1 | import "./register-api";
2 |
--------------------------------------------------------------------------------
/end of #16/imports/startup/server/index.js:
--------------------------------------------------------------------------------
1 | import "./register-api";
2 |
--------------------------------------------------------------------------------
/end of #17/imports/startup/server/index.js:
--------------------------------------------------------------------------------
1 | import "./register-api";
2 |
--------------------------------------------------------------------------------
/end of #18/imports/startup/server/index.js:
--------------------------------------------------------------------------------
1 | import "./register-api";
2 |
--------------------------------------------------------------------------------
/end of #19/imports/startup/server/index.js:
--------------------------------------------------------------------------------
1 | import "./register-api";
2 |
--------------------------------------------------------------------------------
/end of #20/imports/startup/server/index.js:
--------------------------------------------------------------------------------
1 | import "./register-api";
2 |
--------------------------------------------------------------------------------
/end of #21/imports/startup/server/index.js:
--------------------------------------------------------------------------------
1 | import "./register-api";
2 |
--------------------------------------------------------------------------------
/end of #22/imports/startup/server/index.js:
--------------------------------------------------------------------------------
1 | import "./register-api";
2 |
--------------------------------------------------------------------------------
/end of #23/imports/startup/server/index.js:
--------------------------------------------------------------------------------
1 | import "./register-api";
2 |
--------------------------------------------------------------------------------
/end of #24/imports/startup/server/index.js:
--------------------------------------------------------------------------------
1 | import "./register-api";
2 |
--------------------------------------------------------------------------------
/end of #25/imports/startup/server/index.js:
--------------------------------------------------------------------------------
1 | import "./register-api";
2 |
--------------------------------------------------------------------------------
/end of #26/imports/startup/server/index.js:
--------------------------------------------------------------------------------
1 | import "./register-api";
2 |
--------------------------------------------------------------------------------
/end of #27/imports/startup/server/index.js:
--------------------------------------------------------------------------------
1 | import "./register-api";
2 |
--------------------------------------------------------------------------------
/end of #8/imports/startup/server/index.js:
--------------------------------------------------------------------------------
1 | import "./register-api";
2 |
--------------------------------------------------------------------------------
/apollo/.babelrc:
--------------------------------------------------------------------------------
1 | {
2 | "plugins": ["babel-plugin-inline-import"]
3 | }
4 |
--------------------------------------------------------------------------------
/end of #8/.babelrc:
--------------------------------------------------------------------------------
1 | {
2 | "plugins": ["babel-plugin-inline-import"]
3 | }
4 |
--------------------------------------------------------------------------------
/end of #10/.babelrc:
--------------------------------------------------------------------------------
1 | {
2 | "plugins": ["babel-plugin-inline-import"]
3 | }
4 |
--------------------------------------------------------------------------------
/end of #11/.babelrc:
--------------------------------------------------------------------------------
1 | {
2 | "plugins": ["babel-plugin-inline-import"]
3 | }
4 |
--------------------------------------------------------------------------------
/end of #12/.babelrc:
--------------------------------------------------------------------------------
1 | {
2 | "plugins": ["babel-plugin-inline-import"]
3 | }
4 |
--------------------------------------------------------------------------------
/end of #13/.babelrc:
--------------------------------------------------------------------------------
1 | {
2 | "plugins": ["babel-plugin-inline-import"]
3 | }
4 |
--------------------------------------------------------------------------------
/end of #14/.babelrc:
--------------------------------------------------------------------------------
1 | {
2 | "plugins": ["babel-plugin-inline-import"]
3 | }
4 |
--------------------------------------------------------------------------------
/end of #15/.babelrc:
--------------------------------------------------------------------------------
1 | {
2 | "plugins": ["babel-plugin-inline-import"]
3 | }
4 |
--------------------------------------------------------------------------------
/end of #16/.babelrc:
--------------------------------------------------------------------------------
1 | {
2 | "plugins": ["babel-plugin-inline-import"]
3 | }
4 |
--------------------------------------------------------------------------------
/end of #17/.babelrc:
--------------------------------------------------------------------------------
1 | {
2 | "plugins": ["babel-plugin-inline-import"]
3 | }
4 |
--------------------------------------------------------------------------------
/end of #18/.babelrc:
--------------------------------------------------------------------------------
1 | {
2 | "plugins": ["babel-plugin-inline-import"]
3 | }
4 |
--------------------------------------------------------------------------------
/end of #19/.babelrc:
--------------------------------------------------------------------------------
1 | {
2 | "plugins": ["babel-plugin-inline-import"]
3 | }
4 |
--------------------------------------------------------------------------------
/end of #20/.babelrc:
--------------------------------------------------------------------------------
1 | {
2 | "plugins": ["babel-plugin-inline-import"]
3 | }
4 |
--------------------------------------------------------------------------------
/end of #21/.babelrc:
--------------------------------------------------------------------------------
1 | {
2 | "plugins": ["babel-plugin-inline-import"]
3 | }
4 |
--------------------------------------------------------------------------------
/end of #22/.babelrc:
--------------------------------------------------------------------------------
1 | {
2 | "plugins": ["babel-plugin-inline-import"]
3 | }
4 |
--------------------------------------------------------------------------------
/end of #23/.babelrc:
--------------------------------------------------------------------------------
1 | {
2 | "plugins": ["babel-plugin-inline-import"]
3 | }
4 |
--------------------------------------------------------------------------------
/end of #24/.babelrc:
--------------------------------------------------------------------------------
1 | {
2 | "plugins": ["babel-plugin-inline-import"]
3 | }
4 |
--------------------------------------------------------------------------------
/end of #25/.babelrc:
--------------------------------------------------------------------------------
1 | {
2 | "plugins": ["babel-plugin-inline-import"]
3 | }
4 |
--------------------------------------------------------------------------------
/end of #26/.babelrc:
--------------------------------------------------------------------------------
1 | {
2 | "plugins": ["babel-plugin-inline-import"]
3 | }
4 |
--------------------------------------------------------------------------------
/end of #27/.babelrc:
--------------------------------------------------------------------------------
1 | {
2 | "plugins": ["babel-plugin-inline-import"]
3 | }
4 |
--------------------------------------------------------------------------------
/end of #18/imports/api/users/User.graphql:
--------------------------------------------------------------------------------
1 | type User {
2 | _id: String
3 | email: String
4 | }
5 |
--------------------------------------------------------------------------------
/end of #8/.DS_Store:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/leveluptuts/fullstack-graphql-apollo-react-meteor/HEAD/end of #8/.DS_Store
--------------------------------------------------------------------------------
/apollo/index.html:
--------------------------------------------------------------------------------
1 |
2 | Level Up Apollo
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/apollo2/index.html:
--------------------------------------------------------------------------------
1 |
2 | Level Up Apollo
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/end of #10/.DS_Store:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/leveluptuts/fullstack-graphql-apollo-react-meteor/HEAD/end of #10/.DS_Store
--------------------------------------------------------------------------------
/end of #11/.DS_Store:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/leveluptuts/fullstack-graphql-apollo-react-meteor/HEAD/end of #11/.DS_Store
--------------------------------------------------------------------------------
/end of #12/.DS_Store:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/leveluptuts/fullstack-graphql-apollo-react-meteor/HEAD/end of #12/.DS_Store
--------------------------------------------------------------------------------
/end of #10/index.html:
--------------------------------------------------------------------------------
1 |
2 | Level Up Apollo
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/end of #11/index.html:
--------------------------------------------------------------------------------
1 |
2 | Level Up Apollo
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/end of #12/index.html:
--------------------------------------------------------------------------------
1 |
2 | Level Up Apollo
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/end of #13/index.html:
--------------------------------------------------------------------------------
1 |
2 | Level Up Apollo
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/end of #14/index.html:
--------------------------------------------------------------------------------
1 |
2 | Level Up Apollo
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/end of #15/index.html:
--------------------------------------------------------------------------------
1 |
2 | Level Up Apollo
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/end of #16/index.html:
--------------------------------------------------------------------------------
1 |
2 | Level Up Apollo
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/end of #17/index.html:
--------------------------------------------------------------------------------
1 |
2 | Level Up Apollo
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/end of #18/index.html:
--------------------------------------------------------------------------------
1 |
2 | Level Up Apollo
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/end of #19/index.html:
--------------------------------------------------------------------------------
1 |
2 | Level Up Apollo
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/end of #2/index.html:
--------------------------------------------------------------------------------
1 |
2 | Level Up Apollo
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/end of #20/index.html:
--------------------------------------------------------------------------------
1 |
2 | Level Up Apollo
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/end of #21/index.html:
--------------------------------------------------------------------------------
1 |
2 | Level Up Apollo
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/end of #22/index.html:
--------------------------------------------------------------------------------
1 |
2 | Level Up Apollo
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/end of #23/index.html:
--------------------------------------------------------------------------------
1 |
2 | Level Up Apollo
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/end of #24/index.html:
--------------------------------------------------------------------------------
1 |
2 | Level Up Apollo
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/end of #25/index.html:
--------------------------------------------------------------------------------
1 |
2 | Level Up Apollo
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/end of #26/index.html:
--------------------------------------------------------------------------------
1 |
2 | Level Up Apollo
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/end of #27/index.html:
--------------------------------------------------------------------------------
1 |
2 | Level Up Apollo
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/end of #3/imports/ui/App.js:
--------------------------------------------------------------------------------
1 | import React from "react";
2 |
3 | const App = () => Hello
;
4 |
5 | export default App;
6 |
--------------------------------------------------------------------------------
/end of #3/index.html:
--------------------------------------------------------------------------------
1 |
2 | Level Up Apollo
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/end of #4/imports/ui/App.js:
--------------------------------------------------------------------------------
1 | import React from "react";
2 |
3 | const App = () => Hello
;
4 |
5 | export default App;
6 |
--------------------------------------------------------------------------------
/end of #4/index.html:
--------------------------------------------------------------------------------
1 |
2 | Level Up Apollo
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/end of #5/imports/ui/App.js:
--------------------------------------------------------------------------------
1 | import React from "react";
2 |
3 | const App = () => Hello
;
4 |
5 | export default App;
6 |
--------------------------------------------------------------------------------
/end of #5/index.html:
--------------------------------------------------------------------------------
1 |
2 | Level Up Apollo
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/end of #6/imports/ui/App.js:
--------------------------------------------------------------------------------
1 | import React from "react";
2 |
3 | const App = () => Hello
;
4 |
5 | export default App;
6 |
--------------------------------------------------------------------------------
/end of #6/index.html:
--------------------------------------------------------------------------------
1 |
2 | Level Up Apollo
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/end of #7/index.html:
--------------------------------------------------------------------------------
1 |
2 | Level Up Apollo
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/end of #8/index.html:
--------------------------------------------------------------------------------
1 |
2 | Level Up Apollo
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/end of #10/imports/.DS_Store:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/leveluptuts/fullstack-graphql-apollo-react-meteor/HEAD/end of #10/imports/.DS_Store
--------------------------------------------------------------------------------
/end of #11/imports/.DS_Store:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/leveluptuts/fullstack-graphql-apollo-react-meteor/HEAD/end of #11/imports/.DS_Store
--------------------------------------------------------------------------------
/end of #12/imports/.DS_Store:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/leveluptuts/fullstack-graphql-apollo-react-meteor/HEAD/end of #12/imports/.DS_Store
--------------------------------------------------------------------------------
/end of #8/imports/.DS_Store:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/leveluptuts/fullstack-graphql-apollo-react-meteor/HEAD/end of #8/imports/.DS_Store
--------------------------------------------------------------------------------
/apollo/imports/api/users/User.graphql:
--------------------------------------------------------------------------------
1 | type User {
2 | _id: String
3 | email: String
4 | }
5 |
6 | extend type Query {
7 | user: User
8 | }
9 |
--------------------------------------------------------------------------------
/apollo2/imports/api/users/User.graphql:
--------------------------------------------------------------------------------
1 | type User {
2 | _id: String
3 | email: String
4 | }
5 |
6 | extend type Query {
7 | user: User
8 | }
9 |
--------------------------------------------------------------------------------
/end of #19/imports/api/users/User.graphql:
--------------------------------------------------------------------------------
1 | type User {
2 | _id: String
3 | email: String
4 | }
5 |
6 | extend type Query {
7 | user: User
8 | }
9 |
--------------------------------------------------------------------------------
/end of #20/imports/api/users/User.graphql:
--------------------------------------------------------------------------------
1 | type User {
2 | _id: String
3 | email: String
4 | }
5 |
6 | extend type Query {
7 | user: User
8 | }
9 |
--------------------------------------------------------------------------------
/end of #21/imports/api/users/User.graphql:
--------------------------------------------------------------------------------
1 | type User {
2 | _id: String
3 | email: String
4 | }
5 |
6 | extend type Query {
7 | user: User
8 | }
9 |
--------------------------------------------------------------------------------
/end of #22/imports/api/users/User.graphql:
--------------------------------------------------------------------------------
1 | type User {
2 | _id: String
3 | email: String
4 | }
5 |
6 | extend type Query {
7 | user: User
8 | }
9 |
--------------------------------------------------------------------------------
/end of #23/imports/api/users/User.graphql:
--------------------------------------------------------------------------------
1 | type User {
2 | _id: String
3 | email: String
4 | }
5 |
6 | extend type Query {
7 | user: User
8 | }
9 |
--------------------------------------------------------------------------------
/end of #24/imports/api/users/User.graphql:
--------------------------------------------------------------------------------
1 | type User {
2 | _id: String
3 | email: String
4 | }
5 |
6 | extend type Query {
7 | user: User
8 | }
9 |
--------------------------------------------------------------------------------
/end of #25/imports/api/users/User.graphql:
--------------------------------------------------------------------------------
1 | type User {
2 | _id: String
3 | email: String
4 | }
5 |
6 | extend type Query {
7 | user: User
8 | }
9 |
--------------------------------------------------------------------------------
/end of #26/imports/api/users/User.graphql:
--------------------------------------------------------------------------------
1 | type User {
2 | _id: String
3 | email: String
4 | }
5 |
6 | extend type Query {
7 | user: User
8 | }
9 |
--------------------------------------------------------------------------------
/end of #27/imports/api/users/User.graphql:
--------------------------------------------------------------------------------
1 | type User {
2 | _id: String
3 | email: String
4 | }
5 |
6 | extend type Query {
7 | user: User
8 | }
9 |
--------------------------------------------------------------------------------
/end of #10/imports/startup/.DS_Store:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/leveluptuts/fullstack-graphql-apollo-react-meteor/HEAD/end of #10/imports/startup/.DS_Store
--------------------------------------------------------------------------------
/end of #11/imports/startup/.DS_Store:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/leveluptuts/fullstack-graphql-apollo-react-meteor/HEAD/end of #11/imports/startup/.DS_Store
--------------------------------------------------------------------------------
/end of #12/imports/startup/.DS_Store:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/leveluptuts/fullstack-graphql-apollo-react-meteor/HEAD/end of #12/imports/startup/.DS_Store
--------------------------------------------------------------------------------
/end of #8/imports/startup/.DS_Store:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/leveluptuts/fullstack-graphql-apollo-react-meteor/HEAD/end of #8/imports/startup/.DS_Store
--------------------------------------------------------------------------------
/apollo/imports/api/goals/goals.js:
--------------------------------------------------------------------------------
1 | import { Mongo } from "meteor/mongo";
2 |
3 | const Goals = new Mongo.Collection("goals");
4 |
5 | export default Goals;
6 |
--------------------------------------------------------------------------------
/apollo2/imports/api/goals/goals.js:
--------------------------------------------------------------------------------
1 | import { Mongo } from "meteor/mongo";
2 |
3 | const Goals = new Mongo.Collection("goals");
4 |
5 | export default Goals;
6 |
--------------------------------------------------------------------------------
/end of #10/imports/api/resolutions/Resolutions.graphql:
--------------------------------------------------------------------------------
1 | # name
2 | # createdAt
3 | # [todoId]
4 |
5 | type Resolution {
6 | _id: String!
7 | name: String!
8 | }
9 |
--------------------------------------------------------------------------------
/end of #11/imports/api/resolutions/Resolutions.graphql:
--------------------------------------------------------------------------------
1 | # name
2 | # createdAt
3 | # [todoId]
4 |
5 | type Resolution {
6 | _id: String!
7 | name: String!
8 | }
9 |
--------------------------------------------------------------------------------
/end of #18/imports/api/users/resolvers.js:
--------------------------------------------------------------------------------
1 | export default {
2 | Query: {
3 | user(obj, args, { user }) {
4 | return user || {};
5 | }
6 | }
7 | };
8 |
--------------------------------------------------------------------------------
/end of #19/imports/api/users/resolvers.js:
--------------------------------------------------------------------------------
1 | export default {
2 | Query: {
3 | user(obj, args, { user }) {
4 | return user || {};
5 | }
6 | }
7 | };
8 |
--------------------------------------------------------------------------------
/end of #21/imports/api/goals/goals.js:
--------------------------------------------------------------------------------
1 | import { Mongo } from "meteor/mongo";
2 |
3 | const Goals = new Mongo.Collection("goals");
4 |
5 | export default Goals;
6 |
--------------------------------------------------------------------------------
/end of #22/imports/api/goals/goals.js:
--------------------------------------------------------------------------------
1 | import { Mongo } from "meteor/mongo";
2 |
3 | const Goals = new Mongo.Collection("goals");
4 |
5 | export default Goals;
6 |
--------------------------------------------------------------------------------
/end of #23/imports/api/goals/goals.js:
--------------------------------------------------------------------------------
1 | import { Mongo } from "meteor/mongo";
2 |
3 | const Goals = new Mongo.Collection("goals");
4 |
5 | export default Goals;
6 |
--------------------------------------------------------------------------------
/end of #24/imports/api/goals/goals.js:
--------------------------------------------------------------------------------
1 | import { Mongo } from "meteor/mongo";
2 |
3 | const Goals = new Mongo.Collection("goals");
4 |
5 | export default Goals;
6 |
--------------------------------------------------------------------------------
/end of #25/imports/api/goals/goals.js:
--------------------------------------------------------------------------------
1 | import { Mongo } from "meteor/mongo";
2 |
3 | const Goals = new Mongo.Collection("goals");
4 |
5 | export default Goals;
6 |
--------------------------------------------------------------------------------
/end of #26/imports/api/goals/goals.js:
--------------------------------------------------------------------------------
1 | import { Mongo } from "meteor/mongo";
2 |
3 | const Goals = new Mongo.Collection("goals");
4 |
5 | export default Goals;
6 |
--------------------------------------------------------------------------------
/end of #27/imports/api/goals/goals.js:
--------------------------------------------------------------------------------
1 | import { Mongo } from "meteor/mongo";
2 |
3 | const Goals = new Mongo.Collection("goals");
4 |
5 | export default Goals;
6 |
--------------------------------------------------------------------------------
/end of #8/imports/api/resolutions/Resolutions.graphql:
--------------------------------------------------------------------------------
1 | # name
2 | # createdAt
3 | # [todoId]
4 |
5 | type Resolutions {
6 | _id: String!
7 | name: String!
8 | }
9 |
--------------------------------------------------------------------------------
/end of #4/imports/startup/server/index.js:
--------------------------------------------------------------------------------
1 | import { createApolloServer } from "meteor/apollo";
2 | import { makeExecutableSchema } from "graphql-tools";
3 |
4 | createApolloServer({});
5 |
--------------------------------------------------------------------------------
/apollo/imports/api/resolutions/resolutions.js:
--------------------------------------------------------------------------------
1 | import { Mongo } from "meteor/mongo";
2 |
3 | const Resolutions = new Mongo.Collection("resolutions");
4 |
5 | export default Resolutions;
6 |
--------------------------------------------------------------------------------
/apollo2/imports/api/resolutions/resolutions.js:
--------------------------------------------------------------------------------
1 | import { Mongo } from "meteor/mongo";
2 |
3 | const Resolutions = new Mongo.Collection("resolutions");
4 |
5 | export default Resolutions;
6 |
--------------------------------------------------------------------------------
/end of #11/imports/api/resolutions/resolutions.js:
--------------------------------------------------------------------------------
1 | import { Mongo } from "meteor/mongo";
2 |
3 | const Resolutions = new Mongo.Collection("resolutions");
4 |
5 | export default Resolutions;
6 |
--------------------------------------------------------------------------------
/end of #12/imports/api/resolutions/resolutions.js:
--------------------------------------------------------------------------------
1 | import { Mongo } from "meteor/mongo";
2 |
3 | const Resolutions = new Mongo.Collection("resolutions");
4 |
5 | export default Resolutions;
6 |
--------------------------------------------------------------------------------
/end of #13/imports/api/resolutions/resolutions.js:
--------------------------------------------------------------------------------
1 | import { Mongo } from "meteor/mongo";
2 |
3 | const Resolutions = new Mongo.Collection("resolutions");
4 |
5 | export default Resolutions;
6 |
--------------------------------------------------------------------------------
/end of #14/imports/api/resolutions/resolutions.js:
--------------------------------------------------------------------------------
1 | import { Mongo } from "meteor/mongo";
2 |
3 | const Resolutions = new Mongo.Collection("resolutions");
4 |
5 | export default Resolutions;
6 |
--------------------------------------------------------------------------------
/end of #15/imports/api/resolutions/resolutions.js:
--------------------------------------------------------------------------------
1 | import { Mongo } from "meteor/mongo";
2 |
3 | const Resolutions = new Mongo.Collection("resolutions");
4 |
5 | export default Resolutions;
6 |
--------------------------------------------------------------------------------
/end of #16/imports/api/resolutions/resolutions.js:
--------------------------------------------------------------------------------
1 | import { Mongo } from "meteor/mongo";
2 |
3 | const Resolutions = new Mongo.Collection("resolutions");
4 |
5 | export default Resolutions;
6 |
--------------------------------------------------------------------------------
/end of #17/imports/api/resolutions/resolutions.js:
--------------------------------------------------------------------------------
1 | import { Mongo } from "meteor/mongo";
2 |
3 | const Resolutions = new Mongo.Collection("resolutions");
4 |
5 | export default Resolutions;
6 |
--------------------------------------------------------------------------------
/end of #18/imports/api/resolutions/resolutions.js:
--------------------------------------------------------------------------------
1 | import { Mongo } from "meteor/mongo";
2 |
3 | const Resolutions = new Mongo.Collection("resolutions");
4 |
5 | export default Resolutions;
6 |
--------------------------------------------------------------------------------
/end of #19/imports/api/resolutions/resolutions.js:
--------------------------------------------------------------------------------
1 | import { Mongo } from "meteor/mongo";
2 |
3 | const Resolutions = new Mongo.Collection("resolutions");
4 |
5 | export default Resolutions;
6 |
--------------------------------------------------------------------------------
/end of #20/imports/api/resolutions/resolutions.js:
--------------------------------------------------------------------------------
1 | import { Mongo } from "meteor/mongo";
2 |
3 | const Resolutions = new Mongo.Collection("resolutions");
4 |
5 | export default Resolutions;
6 |
--------------------------------------------------------------------------------
/end of #21/imports/api/resolutions/resolutions.js:
--------------------------------------------------------------------------------
1 | import { Mongo } from "meteor/mongo";
2 |
3 | const Resolutions = new Mongo.Collection("resolutions");
4 |
5 | export default Resolutions;
6 |
--------------------------------------------------------------------------------
/end of #22/imports/api/resolutions/resolutions.js:
--------------------------------------------------------------------------------
1 | import { Mongo } from "meteor/mongo";
2 |
3 | const Resolutions = new Mongo.Collection("resolutions");
4 |
5 | export default Resolutions;
6 |
--------------------------------------------------------------------------------
/end of #23/imports/api/resolutions/resolutions.js:
--------------------------------------------------------------------------------
1 | import { Mongo } from "meteor/mongo";
2 |
3 | const Resolutions = new Mongo.Collection("resolutions");
4 |
5 | export default Resolutions;
6 |
--------------------------------------------------------------------------------
/end of #24/imports/api/resolutions/resolutions.js:
--------------------------------------------------------------------------------
1 | import { Mongo } from "meteor/mongo";
2 |
3 | const Resolutions = new Mongo.Collection("resolutions");
4 |
5 | export default Resolutions;
6 |
--------------------------------------------------------------------------------
/end of #25/imports/api/resolutions/resolutions.js:
--------------------------------------------------------------------------------
1 | import { Mongo } from "meteor/mongo";
2 |
3 | const Resolutions = new Mongo.Collection("resolutions");
4 |
5 | export default Resolutions;
6 |
--------------------------------------------------------------------------------
/end of #26/imports/api/resolutions/resolutions.js:
--------------------------------------------------------------------------------
1 | import { Mongo } from "meteor/mongo";
2 |
3 | const Resolutions = new Mongo.Collection("resolutions");
4 |
5 | export default Resolutions;
6 |
--------------------------------------------------------------------------------
/end of #27/imports/api/resolutions/resolutions.js:
--------------------------------------------------------------------------------
1 | import { Mongo } from "meteor/mongo";
2 |
3 | const Resolutions = new Mongo.Collection("resolutions");
4 |
5 | export default Resolutions;
6 |
--------------------------------------------------------------------------------
/apollo2/imports/api/goals/Goal.graphql:
--------------------------------------------------------------------------------
1 | type Goal {
2 | _id: String
3 | name: String
4 | completed: Boolean
5 | }
6 |
7 | extend type Mutation {
8 | createGoal(name: String!, resolutionId: String!): Goal
9 | }
10 |
--------------------------------------------------------------------------------
/end of #21/imports/api/goals/Goal.graphql:
--------------------------------------------------------------------------------
1 | type Goal {
2 | _id: String
3 | name: String
4 | completed: Boolean
5 | }
6 |
7 | extend type Mutation {
8 | createGoal(name: String!, resolutionId: String!): Goal
9 | }
10 |
--------------------------------------------------------------------------------
/end of #22/imports/api/goals/Goal.graphql:
--------------------------------------------------------------------------------
1 | type Goal {
2 | _id: String
3 | name: String
4 | completed: Boolean
5 | }
6 |
7 | extend type Mutation {
8 | createGoal(name: String!, resolutionId: String!): Goal
9 | }
10 |
--------------------------------------------------------------------------------
/end of #23/imports/api/goals/Goal.graphql:
--------------------------------------------------------------------------------
1 | type Goal {
2 | _id: String
3 | name: String
4 | completed: Boolean
5 | }
6 |
7 | extend type Mutation {
8 | createGoal(name: String!, resolutionId: String!): Goal
9 | }
10 |
--------------------------------------------------------------------------------
/apollo/imports/api/users/resolvers.js:
--------------------------------------------------------------------------------
1 | export default {
2 | Query: {
3 | user(obj, args, { user }) {
4 | return user || {};
5 | }
6 | },
7 | User: {
8 | email: user => user.emails[0].address
9 | }
10 | };
11 |
--------------------------------------------------------------------------------
/apollo2/imports/api/users/resolvers.js:
--------------------------------------------------------------------------------
1 | export default {
2 | Query: {
3 | user(obj, args, { user }) {
4 | return user || {};
5 | }
6 | },
7 | User: {
8 | email: user => user.emails[0].address
9 | }
10 | };
11 |
--------------------------------------------------------------------------------
/end of #12/imports/api/resolutions/Resolutions.graphql:
--------------------------------------------------------------------------------
1 | # name
2 | # createdAt
3 | # [todoId]
4 |
5 | type Resolution {
6 | _id: String!
7 | name: String!
8 | }
9 |
10 | type Mutation {
11 | createResolution: Resolution
12 | }
13 |
--------------------------------------------------------------------------------
/end of #20/imports/api/users/resolvers.js:
--------------------------------------------------------------------------------
1 | export default {
2 | Query: {
3 | user(obj, args, { user }) {
4 | return user || {};
5 | }
6 | },
7 | User: {
8 | email: user => user.emails[0].address
9 | }
10 | };
11 |
--------------------------------------------------------------------------------
/end of #21/imports/api/users/resolvers.js:
--------------------------------------------------------------------------------
1 | export default {
2 | Query: {
3 | user(obj, args, { user }) {
4 | return user || {};
5 | }
6 | },
7 | User: {
8 | email: user => user.emails[0].address
9 | }
10 | };
11 |
--------------------------------------------------------------------------------
/end of #22/imports/api/users/resolvers.js:
--------------------------------------------------------------------------------
1 | export default {
2 | Query: {
3 | user(obj, args, { user }) {
4 | return user || {};
5 | }
6 | },
7 | User: {
8 | email: user => user.emails[0].address
9 | }
10 | };
11 |
--------------------------------------------------------------------------------
/end of #23/imports/api/users/resolvers.js:
--------------------------------------------------------------------------------
1 | export default {
2 | Query: {
3 | user(obj, args, { user }) {
4 | return user || {};
5 | }
6 | },
7 | User: {
8 | email: user => user.emails[0].address
9 | }
10 | };
11 |
--------------------------------------------------------------------------------
/end of #24/imports/api/users/resolvers.js:
--------------------------------------------------------------------------------
1 | export default {
2 | Query: {
3 | user(obj, args, { user }) {
4 | return user || {};
5 | }
6 | },
7 | User: {
8 | email: user => user.emails[0].address
9 | }
10 | };
11 |
--------------------------------------------------------------------------------
/end of #25/imports/api/users/resolvers.js:
--------------------------------------------------------------------------------
1 | export default {
2 | Query: {
3 | user(obj, args, { user }) {
4 | return user || {};
5 | }
6 | },
7 | User: {
8 | email: user => user.emails[0].address
9 | }
10 | };
11 |
--------------------------------------------------------------------------------
/end of #26/imports/api/users/resolvers.js:
--------------------------------------------------------------------------------
1 | export default {
2 | Query: {
3 | user(obj, args, { user }) {
4 | return user || {};
5 | }
6 | },
7 | User: {
8 | email: user => user.emails[0].address
9 | }
10 | };
11 |
--------------------------------------------------------------------------------
/end of #27/imports/api/users/resolvers.js:
--------------------------------------------------------------------------------
1 | export default {
2 | Query: {
3 | user(obj, args, { user }) {
4 | return user || {};
5 | }
6 | },
7 | User: {
8 | email: user => user.emails[0].address
9 | }
10 | };
11 |
--------------------------------------------------------------------------------
/end of #2/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "apollo",
3 | "private": true,
4 | "scripts": {
5 | "start": "meteor run"
6 | },
7 | "dependencies": {
8 | "babel-runtime": "^6.26.0",
9 | "meteor-node-stubs": "^0.3.2"
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/end of #13/imports/api/resolutions/Resolutions.graphql:
--------------------------------------------------------------------------------
1 | # name
2 | # createdAt
3 | # [todoId]
4 |
5 | type Resolution {
6 | _id: String!
7 | name: String!
8 | }
9 |
10 | type Mutation {
11 | createResolution(name: String!): Resolution
12 | }
13 |
--------------------------------------------------------------------------------
/end of #14/imports/api/resolutions/Resolutions.graphql:
--------------------------------------------------------------------------------
1 | # name
2 | # createdAt
3 | # [todoId]
4 |
5 | type Resolution {
6 | _id: String!
7 | name: String!
8 | }
9 |
10 | type Mutation {
11 | createResolution(name: String!): Resolution
12 | }
13 |
--------------------------------------------------------------------------------
/end of #15/imports/api/resolutions/Resolutions.graphql:
--------------------------------------------------------------------------------
1 | # name
2 | # createdAt
3 | # [todoId]
4 |
5 | type Resolution {
6 | _id: String!
7 | name: String!
8 | }
9 |
10 | type Mutation {
11 | createResolution(name: String!): Resolution
12 | }
13 |
--------------------------------------------------------------------------------
/end of #16/imports/api/resolutions/Resolutions.graphql:
--------------------------------------------------------------------------------
1 | # name
2 | # createdAt
3 | # [todoId]
4 |
5 | type Resolution {
6 | _id: String!
7 | name: String!
8 | }
9 |
10 | type Mutation {
11 | createResolution(name: String!): Resolution
12 | }
13 |
--------------------------------------------------------------------------------
/end of #17/imports/api/resolutions/Resolutions.graphql:
--------------------------------------------------------------------------------
1 | # name
2 | # createdAt
3 | # [todoId]
4 |
5 | type Resolution {
6 | _id: String!
7 | name: String!
8 | }
9 |
10 | type Mutation {
11 | createResolution(name: String!): Resolution
12 | }
13 |
--------------------------------------------------------------------------------
/end of #18/imports/api/resolutions/Resolutions.graphql:
--------------------------------------------------------------------------------
1 | # name
2 | # createdAt
3 | # [todoId]
4 |
5 | type Resolution {
6 | _id: String!
7 | name: String!
8 | }
9 |
10 | type Mutation {
11 | createResolution(name: String!): Resolution
12 | }
13 |
--------------------------------------------------------------------------------
/apollo/imports/api/goals/Goal.graphql:
--------------------------------------------------------------------------------
1 | type Goal {
2 | _id: String
3 | name: String
4 | completed: Boolean
5 | }
6 |
7 | extend type Mutation {
8 | createGoal(name: String!, resolutionId: String!): Goal
9 | toggleGoal(_id: String!): Goal
10 | }
11 |
--------------------------------------------------------------------------------
/end of #24/imports/api/goals/Goal.graphql:
--------------------------------------------------------------------------------
1 | type Goal {
2 | _id: String
3 | name: String
4 | completed: Boolean
5 | }
6 |
7 | extend type Mutation {
8 | createGoal(name: String!, resolutionId: String!): Goal
9 | toggleGoal(_id: String!): Goal
10 | }
11 |
--------------------------------------------------------------------------------
/end of #25/imports/api/goals/Goal.graphql:
--------------------------------------------------------------------------------
1 | type Goal {
2 | _id: String
3 | name: String
4 | completed: Boolean
5 | }
6 |
7 | extend type Mutation {
8 | createGoal(name: String!, resolutionId: String!): Goal
9 | toggleGoal(_id: String!): Goal
10 | }
11 |
--------------------------------------------------------------------------------
/end of #26/imports/api/goals/Goal.graphql:
--------------------------------------------------------------------------------
1 | type Goal {
2 | _id: String
3 | name: String
4 | completed: Boolean
5 | }
6 |
7 | extend type Mutation {
8 | createGoal(name: String!, resolutionId: String!): Goal
9 | toggleGoal(_id: String!): Goal
10 | }
11 |
--------------------------------------------------------------------------------
/end of #27/imports/api/goals/Goal.graphql:
--------------------------------------------------------------------------------
1 | type Goal {
2 | _id: String
3 | name: String
4 | completed: Boolean
5 | }
6 |
7 | extend type Mutation {
8 | createGoal(name: String!, resolutionId: String!): Goal
9 | toggleGoal(_id: String!): Goal
10 | }
11 |
--------------------------------------------------------------------------------
/apollo2/imports/api/resolutions/Resolutions.graphql:
--------------------------------------------------------------------------------
1 | type Resolution {
2 | _id: String!
3 | name: String!
4 | goals: [Goal]
5 | }
6 |
7 | type Query {
8 | resolutions: [Resolution]
9 | }
10 |
11 | type Mutation {
12 | createResolution(name: String!): Resolution
13 | }
14 |
--------------------------------------------------------------------------------
/end of #22/imports/api/resolutions/Resolutions.graphql:
--------------------------------------------------------------------------------
1 | type Resolution {
2 | _id: String!
3 | name: String!
4 | goals: [Goal]
5 | }
6 |
7 | type Query {
8 | resolutions: [Resolution]
9 | }
10 |
11 | type Mutation {
12 | createResolution(name: String!): Resolution
13 | }
14 |
--------------------------------------------------------------------------------
/end of #23/imports/api/resolutions/Resolutions.graphql:
--------------------------------------------------------------------------------
1 | type Resolution {
2 | _id: String!
3 | name: String!
4 | goals: [Goal]
5 | }
6 |
7 | type Query {
8 | resolutions: [Resolution]
9 | }
10 |
11 | type Mutation {
12 | createResolution(name: String!): Resolution
13 | }
14 |
--------------------------------------------------------------------------------
/end of #24/imports/api/resolutions/Resolutions.graphql:
--------------------------------------------------------------------------------
1 | type Resolution {
2 | _id: String!
3 | name: String!
4 | goals: [Goal]
5 | }
6 |
7 | type Query {
8 | resolutions: [Resolution]
9 | }
10 |
11 | type Mutation {
12 | createResolution(name: String!): Resolution
13 | }
14 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | ## Youtube Playlist
2 | https://www.youtube.com/playlist?list=PLLnpHn493BHFTDL9M1PKnxQwBwOZ8J-h4
3 |
4 | ## Support Free Tutorials
5 | https://www.leveluptutorials.com/pro/
6 |
7 | https://www.leveluptutorials.com/store/
8 |
9 | ## Syntax.fm Podcast
10 | http://syntax.fm/
11 |
--------------------------------------------------------------------------------
/end of #3/imports/startup/client/index.js:
--------------------------------------------------------------------------------
1 | import React from "react";
2 | import { Meteor } from "meteor/meteor";
3 | import { render } from "react-dom";
4 |
5 | import App from "../../ui/App";
6 |
7 | Meteor.startup(() => {
8 | render(, document.getElementById("app"));
9 | });
10 |
--------------------------------------------------------------------------------
/end of #4/imports/startup/client/index.js:
--------------------------------------------------------------------------------
1 | import React from "react";
2 | import { Meteor } from "meteor/meteor";
3 | import { render } from "react-dom";
4 |
5 | import App from "../../ui/App";
6 |
7 | Meteor.startup(() => {
8 | render(, document.getElementById("app"));
9 | });
10 |
--------------------------------------------------------------------------------
/end of #5/imports/startup/client/index.js:
--------------------------------------------------------------------------------
1 | import React from "react";
2 | import { Meteor } from "meteor/meteor";
3 | import { render } from "react-dom";
4 |
5 | import App from "../../ui/App";
6 |
7 | Meteor.startup(() => {
8 | render(, document.getElementById("app"));
9 | });
10 |
--------------------------------------------------------------------------------
/end of #11/imports/api/resolutions/resolvers.js:
--------------------------------------------------------------------------------
1 | import Resolutions from "./resolutions";
2 |
3 | // Resolutions.insert({
4 | // name: "Test Res"
5 | // });
6 |
7 | export default {
8 | Query: {
9 | resolutions() {
10 | return Resolutions.find({}).fetch();
11 | }
12 | }
13 | };
14 |
--------------------------------------------------------------------------------
/apollo/imports/api/resolutions/Resolutions.graphql:
--------------------------------------------------------------------------------
1 | type Resolution {
2 | _id: String!
3 | name: String!
4 | goals: [Goal]
5 | completed: Boolean
6 | }
7 |
8 | type Query {
9 | resolutions: [Resolution]
10 | }
11 |
12 | type Mutation {
13 | createResolution(name: String!): Resolution
14 | }
15 |
--------------------------------------------------------------------------------
/end of #23/imports/ui/resolutions/Goal.js:
--------------------------------------------------------------------------------
1 | import React, { Component } from "react";
2 |
3 | export default class Goal extends Component {
4 | render() {
5 | return (
6 |
7 |
8 | {this.props.goal.name}
9 |
10 | );
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/end of #7/imports/ui/App.js:
--------------------------------------------------------------------------------
1 | import React from "react";
2 | import gql from "graphql-tag";
3 | import { graphql } from "react-apollo";
4 |
5 | const App = ({ data }) => {data.hi}
;
6 |
7 | const hiQuery = gql`
8 | {
9 | hi
10 | }
11 | `;
12 |
13 | export default graphql(hiQuery)(App);
14 |
--------------------------------------------------------------------------------
/end of #8/imports/ui/App.js:
--------------------------------------------------------------------------------
1 | import React from "react";
2 | import gql from "graphql-tag";
3 | import { graphql } from "react-apollo";
4 |
5 | const App = ({ data }) => {data.hi}
;
6 |
7 | const hiQuery = gql`
8 | {
9 | hi
10 | }
11 | `;
12 |
13 | export default graphql(hiQuery)(App);
14 |
--------------------------------------------------------------------------------
/end of #25/imports/api/resolutions/Resolutions.graphql:
--------------------------------------------------------------------------------
1 | type Resolution {
2 | _id: String!
3 | name: String!
4 | goals: [Goal]
5 | completed: Boolean
6 | }
7 |
8 | type Query {
9 | resolutions: [Resolution]
10 | }
11 |
12 | type Mutation {
13 | createResolution(name: String!): Resolution
14 | }
15 |
--------------------------------------------------------------------------------
/end of #26/imports/api/resolutions/Resolutions.graphql:
--------------------------------------------------------------------------------
1 | type Resolution {
2 | _id: String!
3 | name: String!
4 | goals: [Goal]
5 | completed: Boolean
6 | }
7 |
8 | type Query {
9 | resolutions: [Resolution]
10 | }
11 |
12 | type Mutation {
13 | createResolution(name: String!): Resolution
14 | }
15 |
--------------------------------------------------------------------------------
/end of #27/imports/api/resolutions/Resolutions.graphql:
--------------------------------------------------------------------------------
1 | type Resolution {
2 | _id: String!
3 | name: String!
4 | goals: [Goal]
5 | completed: Boolean
6 | }
7 |
8 | type Query {
9 | resolutions: [Resolution]
10 | }
11 |
12 | type Mutation {
13 | createResolution(name: String!): Resolution
14 | }
15 |
--------------------------------------------------------------------------------
/end of #3/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "apollo",
3 | "private": true,
4 | "scripts": {
5 | "start": "meteor run"
6 | },
7 | "dependencies": {
8 | "babel-runtime": "^6.26.0",
9 | "meteor-node-stubs": "^0.3.2",
10 | "react": "^16.2.0",
11 | "react-dom": "^16.2.0"
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/apollo2/.babelrc:
--------------------------------------------------------------------------------
1 | {
2 | "plugins": [
3 | "babel-plugin-inline-import",
4 | "@babel/plugin-proposal-decorators",
5 | ["@babel/plugin-proposal-class-properties", { "loose": true }],
6 | [
7 | "module-resolver",
8 | {
9 | "root": ["./"]
10 | }
11 | ]
12 | ]
13 | }
14 |
--------------------------------------------------------------------------------
/end of #19/imports/api/resolutions/Resolutions.graphql:
--------------------------------------------------------------------------------
1 | # name
2 | # createdAt
3 | # [todoId]
4 |
5 | type Resolution {
6 | _id: String!
7 | name: String!
8 | }
9 |
10 | type Query {
11 | resolutions: [Resolution]
12 | }
13 |
14 | type Mutation {
15 | createResolution(name: String!): Resolution
16 | }
17 |
--------------------------------------------------------------------------------
/end of #20/imports/api/resolutions/Resolutions.graphql:
--------------------------------------------------------------------------------
1 | # name
2 | # createdAt
3 | # [todoId]
4 |
5 | type Resolution {
6 | _id: String!
7 | name: String!
8 | }
9 |
10 | type Query {
11 | resolutions: [Resolution]
12 | }
13 |
14 | type Mutation {
15 | createResolution(name: String!): Resolution
16 | }
17 |
--------------------------------------------------------------------------------
/end of #21/imports/api/resolutions/Resolutions.graphql:
--------------------------------------------------------------------------------
1 | # name
2 | # createdAt
3 | # [todoId]
4 |
5 | type Resolution {
6 | _id: String!
7 | name: String!
8 | }
9 |
10 | type Query {
11 | resolutions: [Resolution]
12 | }
13 |
14 | type Mutation {
15 | createResolution(name: String!): Resolution
16 | }
17 |
--------------------------------------------------------------------------------
/apollo2/imports/api/goals/resolvers.js:
--------------------------------------------------------------------------------
1 | import Goals from "./goals";
2 |
3 | export default {
4 | Mutation: {
5 | createGoal(obj, { name, resolutionId }) {
6 | const goalId = Goals.insert({
7 | name,
8 | resolutionId,
9 | completed: false
10 | });
11 | return Goals.findOne(goalId);
12 | }
13 | }
14 | };
15 |
--------------------------------------------------------------------------------
/apollo/.meteor/.id:
--------------------------------------------------------------------------------
1 | # This file contains a token that is unique to your project.
2 | # Check it into your repository along with the rest of this directory.
3 | # It can be used for purposes such as:
4 | # - ensuring you don't accidentally deploy one app on top of another
5 | # - providing package authors with aggregated statistics
6 |
7 | r516o79x1l9k.pz53o4wmitdh
8 |
--------------------------------------------------------------------------------
/apollo2/.meteor/.id:
--------------------------------------------------------------------------------
1 | # This file contains a token that is unique to your project.
2 | # Check it into your repository along with the rest of this directory.
3 | # It can be used for purposes such as:
4 | # - ensuring you don't accidentally deploy one app on top of another
5 | # - providing package authors with aggregated statistics
6 |
7 | r516o79x1l9k.pz53o4wmitdh
8 |
--------------------------------------------------------------------------------
/end of #10/.meteor/.id:
--------------------------------------------------------------------------------
1 | # This file contains a token that is unique to your project.
2 | # Check it into your repository along with the rest of this directory.
3 | # It can be used for purposes such as:
4 | # - ensuring you don't accidentally deploy one app on top of another
5 | # - providing package authors with aggregated statistics
6 |
7 | r516o79x1l9k.pz53o4wmitdh
8 |
--------------------------------------------------------------------------------
/end of #11/.meteor/.id:
--------------------------------------------------------------------------------
1 | # This file contains a token that is unique to your project.
2 | # Check it into your repository along with the rest of this directory.
3 | # It can be used for purposes such as:
4 | # - ensuring you don't accidentally deploy one app on top of another
5 | # - providing package authors with aggregated statistics
6 |
7 | r516o79x1l9k.pz53o4wmitdh
8 |
--------------------------------------------------------------------------------
/end of #12/.meteor/.id:
--------------------------------------------------------------------------------
1 | # This file contains a token that is unique to your project.
2 | # Check it into your repository along with the rest of this directory.
3 | # It can be used for purposes such as:
4 | # - ensuring you don't accidentally deploy one app on top of another
5 | # - providing package authors with aggregated statistics
6 |
7 | r516o79x1l9k.pz53o4wmitdh
8 |
--------------------------------------------------------------------------------
/end of #13/.meteor/.id:
--------------------------------------------------------------------------------
1 | # This file contains a token that is unique to your project.
2 | # Check it into your repository along with the rest of this directory.
3 | # It can be used for purposes such as:
4 | # - ensuring you don't accidentally deploy one app on top of another
5 | # - providing package authors with aggregated statistics
6 |
7 | r516o79x1l9k.pz53o4wmitdh
8 |
--------------------------------------------------------------------------------
/end of #14/.meteor/.id:
--------------------------------------------------------------------------------
1 | # This file contains a token that is unique to your project.
2 | # Check it into your repository along with the rest of this directory.
3 | # It can be used for purposes such as:
4 | # - ensuring you don't accidentally deploy one app on top of another
5 | # - providing package authors with aggregated statistics
6 |
7 | r516o79x1l9k.pz53o4wmitdh
8 |
--------------------------------------------------------------------------------
/end of #15/.meteor/.id:
--------------------------------------------------------------------------------
1 | # This file contains a token that is unique to your project.
2 | # Check it into your repository along with the rest of this directory.
3 | # It can be used for purposes such as:
4 | # - ensuring you don't accidentally deploy one app on top of another
5 | # - providing package authors with aggregated statistics
6 |
7 | r516o79x1l9k.pz53o4wmitdh
8 |
--------------------------------------------------------------------------------
/end of #16/.meteor/.id:
--------------------------------------------------------------------------------
1 | # This file contains a token that is unique to your project.
2 | # Check it into your repository along with the rest of this directory.
3 | # It can be used for purposes such as:
4 | # - ensuring you don't accidentally deploy one app on top of another
5 | # - providing package authors with aggregated statistics
6 |
7 | r516o79x1l9k.pz53o4wmitdh
8 |
--------------------------------------------------------------------------------
/end of #17/.meteor/.id:
--------------------------------------------------------------------------------
1 | # This file contains a token that is unique to your project.
2 | # Check it into your repository along with the rest of this directory.
3 | # It can be used for purposes such as:
4 | # - ensuring you don't accidentally deploy one app on top of another
5 | # - providing package authors with aggregated statistics
6 |
7 | r516o79x1l9k.pz53o4wmitdh
8 |
--------------------------------------------------------------------------------
/end of #18/.meteor/.id:
--------------------------------------------------------------------------------
1 | # This file contains a token that is unique to your project.
2 | # Check it into your repository along with the rest of this directory.
3 | # It can be used for purposes such as:
4 | # - ensuring you don't accidentally deploy one app on top of another
5 | # - providing package authors with aggregated statistics
6 |
7 | r516o79x1l9k.pz53o4wmitdh
8 |
--------------------------------------------------------------------------------
/end of #19/.meteor/.id:
--------------------------------------------------------------------------------
1 | # This file contains a token that is unique to your project.
2 | # Check it into your repository along with the rest of this directory.
3 | # It can be used for purposes such as:
4 | # - ensuring you don't accidentally deploy one app on top of another
5 | # - providing package authors with aggregated statistics
6 |
7 | r516o79x1l9k.pz53o4wmitdh
8 |
--------------------------------------------------------------------------------
/end of #2/.meteor/.id:
--------------------------------------------------------------------------------
1 | # This file contains a token that is unique to your project.
2 | # Check it into your repository along with the rest of this directory.
3 | # It can be used for purposes such as:
4 | # - ensuring you don't accidentally deploy one app on top of another
5 | # - providing package authors with aggregated statistics
6 |
7 | r516o79x1l9k.pz53o4wmitdh
8 |
--------------------------------------------------------------------------------
/end of #20/.meteor/.id:
--------------------------------------------------------------------------------
1 | # This file contains a token that is unique to your project.
2 | # Check it into your repository along with the rest of this directory.
3 | # It can be used for purposes such as:
4 | # - ensuring you don't accidentally deploy one app on top of another
5 | # - providing package authors with aggregated statistics
6 |
7 | r516o79x1l9k.pz53o4wmitdh
8 |
--------------------------------------------------------------------------------
/end of #21/.meteor/.id:
--------------------------------------------------------------------------------
1 | # This file contains a token that is unique to your project.
2 | # Check it into your repository along with the rest of this directory.
3 | # It can be used for purposes such as:
4 | # - ensuring you don't accidentally deploy one app on top of another
5 | # - providing package authors with aggregated statistics
6 |
7 | r516o79x1l9k.pz53o4wmitdh
8 |
--------------------------------------------------------------------------------
/end of #21/imports/api/goals/resolvers.js:
--------------------------------------------------------------------------------
1 | import Goals from "./goals";
2 |
3 | export default {
4 | Mutation: {
5 | createGoal(obj, { name, resolutionId }) {
6 | const goalId = Goals.insert({
7 | name,
8 | resolutionId,
9 | completed: false
10 | });
11 | return Goals.findOne(goalId);
12 | }
13 | }
14 | };
15 |
--------------------------------------------------------------------------------
/end of #22/.meteor/.id:
--------------------------------------------------------------------------------
1 | # This file contains a token that is unique to your project.
2 | # Check it into your repository along with the rest of this directory.
3 | # It can be used for purposes such as:
4 | # - ensuring you don't accidentally deploy one app on top of another
5 | # - providing package authors with aggregated statistics
6 |
7 | r516o79x1l9k.pz53o4wmitdh
8 |
--------------------------------------------------------------------------------
/end of #22/imports/api/goals/resolvers.js:
--------------------------------------------------------------------------------
1 | import Goals from "./goals";
2 |
3 | export default {
4 | Mutation: {
5 | createGoal(obj, { name, resolutionId }) {
6 | const goalId = Goals.insert({
7 | name,
8 | resolutionId,
9 | completed: false
10 | });
11 | return Goals.findOne(goalId);
12 | }
13 | }
14 | };
15 |
--------------------------------------------------------------------------------
/end of #23/.meteor/.id:
--------------------------------------------------------------------------------
1 | # This file contains a token that is unique to your project.
2 | # Check it into your repository along with the rest of this directory.
3 | # It can be used for purposes such as:
4 | # - ensuring you don't accidentally deploy one app on top of another
5 | # - providing package authors with aggregated statistics
6 |
7 | r516o79x1l9k.pz53o4wmitdh
8 |
--------------------------------------------------------------------------------
/end of #23/imports/api/goals/resolvers.js:
--------------------------------------------------------------------------------
1 | import Goals from "./goals";
2 |
3 | export default {
4 | Mutation: {
5 | createGoal(obj, { name, resolutionId }) {
6 | const goalId = Goals.insert({
7 | name,
8 | resolutionId,
9 | completed: false
10 | });
11 | return Goals.findOne(goalId);
12 | }
13 | }
14 | };
15 |
--------------------------------------------------------------------------------
/end of #24/.meteor/.id:
--------------------------------------------------------------------------------
1 | # This file contains a token that is unique to your project.
2 | # Check it into your repository along with the rest of this directory.
3 | # It can be used for purposes such as:
4 | # - ensuring you don't accidentally deploy one app on top of another
5 | # - providing package authors with aggregated statistics
6 |
7 | r516o79x1l9k.pz53o4wmitdh
8 |
--------------------------------------------------------------------------------
/end of #25/.meteor/.id:
--------------------------------------------------------------------------------
1 | # This file contains a token that is unique to your project.
2 | # Check it into your repository along with the rest of this directory.
3 | # It can be used for purposes such as:
4 | # - ensuring you don't accidentally deploy one app on top of another
5 | # - providing package authors with aggregated statistics
6 |
7 | r516o79x1l9k.pz53o4wmitdh
8 |
--------------------------------------------------------------------------------
/end of #26/.meteor/.id:
--------------------------------------------------------------------------------
1 | # This file contains a token that is unique to your project.
2 | # Check it into your repository along with the rest of this directory.
3 | # It can be used for purposes such as:
4 | # - ensuring you don't accidentally deploy one app on top of another
5 | # - providing package authors with aggregated statistics
6 |
7 | r516o79x1l9k.pz53o4wmitdh
8 |
--------------------------------------------------------------------------------
/end of #27/.meteor/.id:
--------------------------------------------------------------------------------
1 | # This file contains a token that is unique to your project.
2 | # Check it into your repository along with the rest of this directory.
3 | # It can be used for purposes such as:
4 | # - ensuring you don't accidentally deploy one app on top of another
5 | # - providing package authors with aggregated statistics
6 |
7 | r516o79x1l9k.pz53o4wmitdh
8 |
--------------------------------------------------------------------------------
/end of #3/.meteor/.id:
--------------------------------------------------------------------------------
1 | # This file contains a token that is unique to your project.
2 | # Check it into your repository along with the rest of this directory.
3 | # It can be used for purposes such as:
4 | # - ensuring you don't accidentally deploy one app on top of another
5 | # - providing package authors with aggregated statistics
6 |
7 | r516o79x1l9k.pz53o4wmitdh
8 |
--------------------------------------------------------------------------------
/end of #4/.meteor/.id:
--------------------------------------------------------------------------------
1 | # This file contains a token that is unique to your project.
2 | # Check it into your repository along with the rest of this directory.
3 | # It can be used for purposes such as:
4 | # - ensuring you don't accidentally deploy one app on top of another
5 | # - providing package authors with aggregated statistics
6 |
7 | r516o79x1l9k.pz53o4wmitdh
8 |
--------------------------------------------------------------------------------
/end of #5/.meteor/.id:
--------------------------------------------------------------------------------
1 | # This file contains a token that is unique to your project.
2 | # Check it into your repository along with the rest of this directory.
3 | # It can be used for purposes such as:
4 | # - ensuring you don't accidentally deploy one app on top of another
5 | # - providing package authors with aggregated statistics
6 |
7 | r516o79x1l9k.pz53o4wmitdh
8 |
--------------------------------------------------------------------------------
/end of #6/.meteor/.id:
--------------------------------------------------------------------------------
1 | # This file contains a token that is unique to your project.
2 | # Check it into your repository along with the rest of this directory.
3 | # It can be used for purposes such as:
4 | # - ensuring you don't accidentally deploy one app on top of another
5 | # - providing package authors with aggregated statistics
6 |
7 | r516o79x1l9k.pz53o4wmitdh
8 |
--------------------------------------------------------------------------------
/end of #7/.meteor/.id:
--------------------------------------------------------------------------------
1 | # This file contains a token that is unique to your project.
2 | # Check it into your repository along with the rest of this directory.
3 | # It can be used for purposes such as:
4 | # - ensuring you don't accidentally deploy one app on top of another
5 | # - providing package authors with aggregated statistics
6 |
7 | r516o79x1l9k.pz53o4wmitdh
8 |
--------------------------------------------------------------------------------
/end of #8/.meteor/.id:
--------------------------------------------------------------------------------
1 | # This file contains a token that is unique to your project.
2 | # Check it into your repository along with the rest of this directory.
3 | # It can be used for purposes such as:
4 | # - ensuring you don't accidentally deploy one app on top of another
5 | # - providing package authors with aggregated statistics
6 |
7 | r516o79x1l9k.pz53o4wmitdh
8 |
--------------------------------------------------------------------------------
/end of #10/imports/api/resolutions/resolvers.js:
--------------------------------------------------------------------------------
1 | export default {
2 | Query: {
3 | resolutions() {
4 | return [
5 | {
6 | _id: "asdfasdfasdf",
7 | name: "Get stuff done!"
8 | },
9 | {
10 | _id: "ffffffffffff",
11 | name: "Lose some weight!"
12 | }
13 | ];
14 | }
15 | }
16 | };
17 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | # See https://help.github.com/ignore-files/ for more about ignoring files.
2 |
3 | # dependencies
4 | /node_modules
5 |
6 | # testing
7 | /coverage
8 |
9 | # production
10 | /build
11 |
12 | # misc
13 | .DS_Store
14 | .env.local
15 | .env.development.local
16 | .env.test.local
17 | .env.production.local
18 |
19 | npm-debug.log*
20 | yarn-debug.log*
21 | yarn-error.log*
22 |
23 |
--------------------------------------------------------------------------------
/end of #12/imports/api/resolutions/resolvers.js:
--------------------------------------------------------------------------------
1 | import Resolutions from "./resolutions";
2 |
3 | export default {
4 | Query: {
5 | resolutions() {
6 | return Resolutions.find({}).fetch();
7 | }
8 | },
9 |
10 | Mutation: {
11 | createResolution() {
12 | console.log("got here");
13 |
14 | // const resolutionId = Resolutions.insert({
15 | // name: "Test Res"
16 | // });
17 | }
18 | }
19 | };
20 |
--------------------------------------------------------------------------------
/end of #13/imports/api/resolutions/resolvers.js:
--------------------------------------------------------------------------------
1 | import Resolutions from "./resolutions";
2 |
3 | export default {
4 | Query: {
5 | resolutions() {
6 | return Resolutions.find({}).fetch();
7 | }
8 | },
9 |
10 | Mutation: {
11 | createResolution(obj, { name }, context) {
12 | const resolutionId = Resolutions.insert({
13 | name
14 | });
15 | return Resolutions.findOne(resolutionId);
16 | }
17 | }
18 | };
19 |
--------------------------------------------------------------------------------
/end of #14/imports/api/resolutions/resolvers.js:
--------------------------------------------------------------------------------
1 | import Resolutions from "./resolutions";
2 |
3 | export default {
4 | Query: {
5 | resolutions() {
6 | return Resolutions.find({}).fetch();
7 | }
8 | },
9 |
10 | Mutation: {
11 | createResolution(obj, { name }, context) {
12 | const resolutionId = Resolutions.insert({
13 | name
14 | });
15 | return Resolutions.findOne(resolutionId);
16 | }
17 | }
18 | };
19 |
--------------------------------------------------------------------------------
/end of #15/imports/api/resolutions/resolvers.js:
--------------------------------------------------------------------------------
1 | import Resolutions from "./resolutions";
2 |
3 | export default {
4 | Query: {
5 | resolutions() {
6 | return Resolutions.find({}).fetch();
7 | }
8 | },
9 |
10 | Mutation: {
11 | createResolution(obj, { name }, context) {
12 | const resolutionId = Resolutions.insert({
13 | name
14 | });
15 | return Resolutions.findOne(resolutionId);
16 | }
17 | }
18 | };
19 |
--------------------------------------------------------------------------------
/end of #5/imports/startup/server/index.js:
--------------------------------------------------------------------------------
1 | import { createApolloServer } from "meteor/apollo";
2 | import { makeExecutableSchema } from "graphql-tools";
3 |
4 | const typeDefs = `
5 | type Query {
6 | hi: String
7 | }
8 | `;
9 |
10 | const resolvers = {
11 | Query: {
12 | hi() {
13 | return "Hello Level Up";
14 | }
15 | }
16 | };
17 |
18 | const schema = makeExecutableSchema({
19 | typeDefs,
20 | resolvers
21 | });
22 |
23 | createApolloServer({ schema });
24 |
--------------------------------------------------------------------------------
/end of #6/imports/startup/server/index.js:
--------------------------------------------------------------------------------
1 | import { createApolloServer } from "meteor/apollo";
2 | import { makeExecutableSchema } from "graphql-tools";
3 |
4 | const typeDefs = `
5 | type Query {
6 | hi: String
7 | }
8 | `;
9 |
10 | const resolvers = {
11 | Query: {
12 | hi() {
13 | return "Hello Level Up";
14 | }
15 | }
16 | };
17 |
18 | const schema = makeExecutableSchema({
19 | typeDefs,
20 | resolvers
21 | });
22 |
23 | createApolloServer({ schema });
24 |
--------------------------------------------------------------------------------
/end of #7/imports/startup/server/index.js:
--------------------------------------------------------------------------------
1 | import { createApolloServer } from "meteor/apollo";
2 | import { makeExecutableSchema } from "graphql-tools";
3 |
4 | const typeDefs = `
5 | type Query {
6 | hi: String
7 | }
8 | `;
9 |
10 | const resolvers = {
11 | Query: {
12 | hi() {
13 | return "Hello Level Up";
14 | }
15 | }
16 | };
17 |
18 | const schema = makeExecutableSchema({
19 | typeDefs,
20 | resolvers
21 | });
22 |
23 | createApolloServer({ schema });
24 |
--------------------------------------------------------------------------------
/end of #4/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "apollo",
3 | "private": true,
4 | "scripts": {
5 | "start": "meteor run"
6 | },
7 | "dependencies": {
8 | "apollo-client": "^2.0.4",
9 | "babel-runtime": "^6.26.0",
10 | "body-parser": "^1.18.2",
11 | "express": "^4.16.2",
12 | "graphql": "^0.12.3",
13 | "graphql-server-express": "^1.3.2",
14 | "graphql-tools": "^2.15.0",
15 | "meteor-node-stubs": "^0.3.2",
16 | "react": "^16.2.0",
17 | "react-dom": "^16.2.0"
18 | }
19 | }
20 |
--------------------------------------------------------------------------------
/end of #5/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "apollo",
3 | "private": true,
4 | "scripts": {
5 | "start": "meteor run"
6 | },
7 | "dependencies": {
8 | "apollo-client": "^2.0.4",
9 | "babel-runtime": "^6.26.0",
10 | "body-parser": "^1.18.2",
11 | "express": "^4.16.2",
12 | "graphql": "^0.12.3",
13 | "graphql-server-express": "^1.3.2",
14 | "graphql-tools": "^2.15.0",
15 | "meteor-node-stubs": "^0.3.2",
16 | "react": "^16.2.0",
17 | "react-dom": "^16.2.0"
18 | }
19 | }
20 |
--------------------------------------------------------------------------------
/end of #17/imports/api/resolutions/resolvers.js:
--------------------------------------------------------------------------------
1 | import Resolutions from "./resolutions";
2 |
3 | export default {
4 | Query: {
5 | resolutions(obj, args, { userId }) {
6 | return Resolutions.find({
7 | userId
8 | }).fetch();
9 | }
10 | },
11 |
12 | Mutation: {
13 | createResolution(obj, { name }, { userId }) {
14 | const resolutionId = Resolutions.insert({
15 | name,
16 | userId
17 | });
18 | return Resolutions.findOne(resolutionId);
19 | }
20 | }
21 | };
22 |
--------------------------------------------------------------------------------
/end of #18/imports/api/resolutions/resolvers.js:
--------------------------------------------------------------------------------
1 | import Resolutions from "./resolutions";
2 |
3 | export default {
4 | Query: {
5 | resolutions(obj, args, { userId }) {
6 | return Resolutions.find({
7 | userId
8 | }).fetch();
9 | }
10 | },
11 |
12 | Mutation: {
13 | createResolution(obj, { name }, { userId }) {
14 | const resolutionId = Resolutions.insert({
15 | name,
16 | userId
17 | });
18 | return Resolutions.findOne(resolutionId);
19 | }
20 | }
21 | };
22 |
--------------------------------------------------------------------------------
/end of #19/imports/api/resolutions/resolvers.js:
--------------------------------------------------------------------------------
1 | import Resolutions from "./resolutions";
2 |
3 | export default {
4 | Query: {
5 | resolutions(obj, args, { userId }) {
6 | return Resolutions.find({
7 | userId
8 | }).fetch();
9 | }
10 | },
11 |
12 | Mutation: {
13 | createResolution(obj, { name }, { userId }) {
14 | const resolutionId = Resolutions.insert({
15 | name,
16 | userId
17 | });
18 | return Resolutions.findOne(resolutionId);
19 | }
20 | }
21 | };
22 |
--------------------------------------------------------------------------------
/end of #20/imports/api/resolutions/resolvers.js:
--------------------------------------------------------------------------------
1 | import Resolutions from "./resolutions";
2 |
3 | export default {
4 | Query: {
5 | resolutions(obj, args, { userId }) {
6 | return Resolutions.find({
7 | userId
8 | }).fetch();
9 | }
10 | },
11 |
12 | Mutation: {
13 | createResolution(obj, { name }, { userId }) {
14 | const resolutionId = Resolutions.insert({
15 | name,
16 | userId
17 | });
18 | return Resolutions.findOne(resolutionId);
19 | }
20 | }
21 | };
22 |
--------------------------------------------------------------------------------
/end of #21/imports/api/resolutions/resolvers.js:
--------------------------------------------------------------------------------
1 | import Resolutions from "./resolutions";
2 |
3 | export default {
4 | Query: {
5 | resolutions(obj, args, { userId }) {
6 | return Resolutions.find({
7 | userId
8 | }).fetch();
9 | }
10 | },
11 |
12 | Mutation: {
13 | createResolution(obj, { name }, { userId }) {
14 | const resolutionId = Resolutions.insert({
15 | name,
16 | userId
17 | });
18 | return Resolutions.findOne(resolutionId);
19 | }
20 | }
21 | };
22 |
--------------------------------------------------------------------------------
/end of #16/imports/api/resolutions/resolvers.js:
--------------------------------------------------------------------------------
1 | import Resolutions from "./resolutions";
2 |
3 | export default {
4 | Query: {
5 | resolutions(obj, args, { userId }) {
6 | console.log(userId);
7 | return Resolutions.find({
8 | userId
9 | }).fetch();
10 | }
11 | },
12 |
13 | Mutation: {
14 | createResolution(obj, { name }, context) {
15 | const resolutionId = Resolutions.insert({
16 | name
17 | });
18 | return Resolutions.findOne(resolutionId);
19 | }
20 | }
21 | };
22 |
--------------------------------------------------------------------------------
/end of #24/imports/api/goals/resolvers.js:
--------------------------------------------------------------------------------
1 | import Goals from "./goals";
2 |
3 | export default {
4 | Mutation: {
5 | createGoal(obj, { name, resolutionId }) {
6 | const goalId = Goals.insert({
7 | name,
8 | resolutionId,
9 | completed: false
10 | });
11 | return Goals.findOne(goalId);
12 | },
13 | toggleGoal(obj, { _id }) {
14 | const goal = Goals.findOne(_id);
15 | Goals.update(_id, {
16 | $set: {
17 | completed: !goal.completed
18 | }
19 | });
20 | return Goals.findOne(_id);
21 | }
22 | }
23 | };
24 |
--------------------------------------------------------------------------------
/end of #25/imports/api/goals/resolvers.js:
--------------------------------------------------------------------------------
1 | import Goals from "./goals";
2 |
3 | export default {
4 | Mutation: {
5 | createGoal(obj, { name, resolutionId }) {
6 | const goalId = Goals.insert({
7 | name,
8 | resolutionId,
9 | completed: false
10 | });
11 | return Goals.findOne(goalId);
12 | },
13 | toggleGoal(obj, { _id }) {
14 | const goal = Goals.findOne(_id);
15 | Goals.update(_id, {
16 | $set: {
17 | completed: !goal.completed
18 | }
19 | });
20 | return Goals.findOne(_id);
21 | }
22 | }
23 | };
24 |
--------------------------------------------------------------------------------
/end of #26/imports/api/goals/resolvers.js:
--------------------------------------------------------------------------------
1 | import Goals from "./goals";
2 |
3 | export default {
4 | Mutation: {
5 | createGoal(obj, { name, resolutionId }) {
6 | const goalId = Goals.insert({
7 | name,
8 | resolutionId,
9 | completed: false
10 | });
11 | return Goals.findOne(goalId);
12 | },
13 | toggleGoal(obj, { _id }) {
14 | const goal = Goals.findOne(_id);
15 | Goals.update(_id, {
16 | $set: {
17 | completed: !goal.completed
18 | }
19 | });
20 | return Goals.findOne(_id);
21 | }
22 | }
23 | };
24 |
--------------------------------------------------------------------------------
/end of #6/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "apollo",
3 | "private": true,
4 | "scripts": {
5 | "start": "meteor run"
6 | },
7 | "dependencies": {
8 | "apollo-client": "^2.0.4",
9 | "apollo-client-preset": "^1.0.5",
10 | "babel-runtime": "^6.26.0",
11 | "body-parser": "^1.18.2",
12 | "express": "^4.16.2",
13 | "graphql": "^0.12.3",
14 | "graphql-server-express": "^1.3.2",
15 | "graphql-tag": "^2.6.1",
16 | "graphql-tools": "^2.15.0",
17 | "meteor-node-stubs": "^0.3.2",
18 | "react": "^16.2.0",
19 | "react-apollo": "^2.0.4",
20 | "react-dom": "^16.2.0"
21 | }
22 | }
23 |
--------------------------------------------------------------------------------
/end of #7/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "apollo",
3 | "private": true,
4 | "scripts": {
5 | "start": "meteor run"
6 | },
7 | "dependencies": {
8 | "apollo-client": "^2.0.4",
9 | "apollo-client-preset": "^1.0.5",
10 | "babel-runtime": "^6.26.0",
11 | "body-parser": "^1.18.2",
12 | "express": "^4.16.2",
13 | "graphql": "^0.12.3",
14 | "graphql-server-express": "^1.3.2",
15 | "graphql-tag": "^2.6.1",
16 | "graphql-tools": "^2.15.0",
17 | "meteor-node-stubs": "^0.3.2",
18 | "react": "^16.2.0",
19 | "react-apollo": "^2.0.4",
20 | "react-dom": "^16.2.0"
21 | }
22 | }
23 |
--------------------------------------------------------------------------------
/apollo/.meteor/.finished-upgraders:
--------------------------------------------------------------------------------
1 | # This file contains information which helps Meteor properly upgrade your
2 | # app when you run 'meteor update'. You should check it into version control
3 | # with your project.
4 |
5 | notices-for-0.9.0
6 | notices-for-0.9.1
7 | 0.9.4-platform-file
8 | notices-for-facebook-graph-api-2
9 | 1.2.0-standard-minifiers-package
10 | 1.2.0-meteor-platform-split
11 | 1.2.0-cordova-changes
12 | 1.2.0-breaking-changes
13 | 1.3.0-split-minifiers-package
14 | 1.4.0-remove-old-dev-bundle-link
15 | 1.4.1-add-shell-server-package
16 | 1.4.3-split-account-service-packages
17 | 1.5-add-dynamic-import-package
18 |
--------------------------------------------------------------------------------
/apollo2/.meteor/.finished-upgraders:
--------------------------------------------------------------------------------
1 | # This file contains information which helps Meteor properly upgrade your
2 | # app when you run 'meteor update'. You should check it into version control
3 | # with your project.
4 |
5 | notices-for-0.9.0
6 | notices-for-0.9.1
7 | 0.9.4-platform-file
8 | notices-for-facebook-graph-api-2
9 | 1.2.0-standard-minifiers-package
10 | 1.2.0-meteor-platform-split
11 | 1.2.0-cordova-changes
12 | 1.2.0-breaking-changes
13 | 1.3.0-split-minifiers-package
14 | 1.4.0-remove-old-dev-bundle-link
15 | 1.4.1-add-shell-server-package
16 | 1.4.3-split-account-service-packages
17 | 1.5-add-dynamic-import-package
18 |
--------------------------------------------------------------------------------
/end of #2/.meteor/.finished-upgraders:
--------------------------------------------------------------------------------
1 | # This file contains information which helps Meteor properly upgrade your
2 | # app when you run 'meteor update'. You should check it into version control
3 | # with your project.
4 |
5 | notices-for-0.9.0
6 | notices-for-0.9.1
7 | 0.9.4-platform-file
8 | notices-for-facebook-graph-api-2
9 | 1.2.0-standard-minifiers-package
10 | 1.2.0-meteor-platform-split
11 | 1.2.0-cordova-changes
12 | 1.2.0-breaking-changes
13 | 1.3.0-split-minifiers-package
14 | 1.4.0-remove-old-dev-bundle-link
15 | 1.4.1-add-shell-server-package
16 | 1.4.3-split-account-service-packages
17 | 1.5-add-dynamic-import-package
18 |
--------------------------------------------------------------------------------
/end of #3/.meteor/.finished-upgraders:
--------------------------------------------------------------------------------
1 | # This file contains information which helps Meteor properly upgrade your
2 | # app when you run 'meteor update'. You should check it into version control
3 | # with your project.
4 |
5 | notices-for-0.9.0
6 | notices-for-0.9.1
7 | 0.9.4-platform-file
8 | notices-for-facebook-graph-api-2
9 | 1.2.0-standard-minifiers-package
10 | 1.2.0-meteor-platform-split
11 | 1.2.0-cordova-changes
12 | 1.2.0-breaking-changes
13 | 1.3.0-split-minifiers-package
14 | 1.4.0-remove-old-dev-bundle-link
15 | 1.4.1-add-shell-server-package
16 | 1.4.3-split-account-service-packages
17 | 1.5-add-dynamic-import-package
18 |
--------------------------------------------------------------------------------
/end of #4/.meteor/.finished-upgraders:
--------------------------------------------------------------------------------
1 | # This file contains information which helps Meteor properly upgrade your
2 | # app when you run 'meteor update'. You should check it into version control
3 | # with your project.
4 |
5 | notices-for-0.9.0
6 | notices-for-0.9.1
7 | 0.9.4-platform-file
8 | notices-for-facebook-graph-api-2
9 | 1.2.0-standard-minifiers-package
10 | 1.2.0-meteor-platform-split
11 | 1.2.0-cordova-changes
12 | 1.2.0-breaking-changes
13 | 1.3.0-split-minifiers-package
14 | 1.4.0-remove-old-dev-bundle-link
15 | 1.4.1-add-shell-server-package
16 | 1.4.3-split-account-service-packages
17 | 1.5-add-dynamic-import-package
18 |
--------------------------------------------------------------------------------
/end of #5/.meteor/.finished-upgraders:
--------------------------------------------------------------------------------
1 | # This file contains information which helps Meteor properly upgrade your
2 | # app when you run 'meteor update'. You should check it into version control
3 | # with your project.
4 |
5 | notices-for-0.9.0
6 | notices-for-0.9.1
7 | 0.9.4-platform-file
8 | notices-for-facebook-graph-api-2
9 | 1.2.0-standard-minifiers-package
10 | 1.2.0-meteor-platform-split
11 | 1.2.0-cordova-changes
12 | 1.2.0-breaking-changes
13 | 1.3.0-split-minifiers-package
14 | 1.4.0-remove-old-dev-bundle-link
15 | 1.4.1-add-shell-server-package
16 | 1.4.3-split-account-service-packages
17 | 1.5-add-dynamic-import-package
18 |
--------------------------------------------------------------------------------
/end of #6/.meteor/.finished-upgraders:
--------------------------------------------------------------------------------
1 | # This file contains information which helps Meteor properly upgrade your
2 | # app when you run 'meteor update'. You should check it into version control
3 | # with your project.
4 |
5 | notices-for-0.9.0
6 | notices-for-0.9.1
7 | 0.9.4-platform-file
8 | notices-for-facebook-graph-api-2
9 | 1.2.0-standard-minifiers-package
10 | 1.2.0-meteor-platform-split
11 | 1.2.0-cordova-changes
12 | 1.2.0-breaking-changes
13 | 1.3.0-split-minifiers-package
14 | 1.4.0-remove-old-dev-bundle-link
15 | 1.4.1-add-shell-server-package
16 | 1.4.3-split-account-service-packages
17 | 1.5-add-dynamic-import-package
18 |
--------------------------------------------------------------------------------
/end of #7/.meteor/.finished-upgraders:
--------------------------------------------------------------------------------
1 | # This file contains information which helps Meteor properly upgrade your
2 | # app when you run 'meteor update'. You should check it into version control
3 | # with your project.
4 |
5 | notices-for-0.9.0
6 | notices-for-0.9.1
7 | 0.9.4-platform-file
8 | notices-for-facebook-graph-api-2
9 | 1.2.0-standard-minifiers-package
10 | 1.2.0-meteor-platform-split
11 | 1.2.0-cordova-changes
12 | 1.2.0-breaking-changes
13 | 1.3.0-split-minifiers-package
14 | 1.4.0-remove-old-dev-bundle-link
15 | 1.4.1-add-shell-server-package
16 | 1.4.3-split-account-service-packages
17 | 1.5-add-dynamic-import-package
18 |
--------------------------------------------------------------------------------
/end of #8/.meteor/.finished-upgraders:
--------------------------------------------------------------------------------
1 | # This file contains information which helps Meteor properly upgrade your
2 | # app when you run 'meteor update'. You should check it into version control
3 | # with your project.
4 |
5 | notices-for-0.9.0
6 | notices-for-0.9.1
7 | 0.9.4-platform-file
8 | notices-for-facebook-graph-api-2
9 | 1.2.0-standard-minifiers-package
10 | 1.2.0-meteor-platform-split
11 | 1.2.0-cordova-changes
12 | 1.2.0-breaking-changes
13 | 1.3.0-split-minifiers-package
14 | 1.4.0-remove-old-dev-bundle-link
15 | 1.4.1-add-shell-server-package
16 | 1.4.3-split-account-service-packages
17 | 1.5-add-dynamic-import-package
18 |
--------------------------------------------------------------------------------
/end of #10/.meteor/.finished-upgraders:
--------------------------------------------------------------------------------
1 | # This file contains information which helps Meteor properly upgrade your
2 | # app when you run 'meteor update'. You should check it into version control
3 | # with your project.
4 |
5 | notices-for-0.9.0
6 | notices-for-0.9.1
7 | 0.9.4-platform-file
8 | notices-for-facebook-graph-api-2
9 | 1.2.0-standard-minifiers-package
10 | 1.2.0-meteor-platform-split
11 | 1.2.0-cordova-changes
12 | 1.2.0-breaking-changes
13 | 1.3.0-split-minifiers-package
14 | 1.4.0-remove-old-dev-bundle-link
15 | 1.4.1-add-shell-server-package
16 | 1.4.3-split-account-service-packages
17 | 1.5-add-dynamic-import-package
18 |
--------------------------------------------------------------------------------
/end of #11/.meteor/.finished-upgraders:
--------------------------------------------------------------------------------
1 | # This file contains information which helps Meteor properly upgrade your
2 | # app when you run 'meteor update'. You should check it into version control
3 | # with your project.
4 |
5 | notices-for-0.9.0
6 | notices-for-0.9.1
7 | 0.9.4-platform-file
8 | notices-for-facebook-graph-api-2
9 | 1.2.0-standard-minifiers-package
10 | 1.2.0-meteor-platform-split
11 | 1.2.0-cordova-changes
12 | 1.2.0-breaking-changes
13 | 1.3.0-split-minifiers-package
14 | 1.4.0-remove-old-dev-bundle-link
15 | 1.4.1-add-shell-server-package
16 | 1.4.3-split-account-service-packages
17 | 1.5-add-dynamic-import-package
18 |
--------------------------------------------------------------------------------
/end of #12/.meteor/.finished-upgraders:
--------------------------------------------------------------------------------
1 | # This file contains information which helps Meteor properly upgrade your
2 | # app when you run 'meteor update'. You should check it into version control
3 | # with your project.
4 |
5 | notices-for-0.9.0
6 | notices-for-0.9.1
7 | 0.9.4-platform-file
8 | notices-for-facebook-graph-api-2
9 | 1.2.0-standard-minifiers-package
10 | 1.2.0-meteor-platform-split
11 | 1.2.0-cordova-changes
12 | 1.2.0-breaking-changes
13 | 1.3.0-split-minifiers-package
14 | 1.4.0-remove-old-dev-bundle-link
15 | 1.4.1-add-shell-server-package
16 | 1.4.3-split-account-service-packages
17 | 1.5-add-dynamic-import-package
18 |
--------------------------------------------------------------------------------
/end of #13/.meteor/.finished-upgraders:
--------------------------------------------------------------------------------
1 | # This file contains information which helps Meteor properly upgrade your
2 | # app when you run 'meteor update'. You should check it into version control
3 | # with your project.
4 |
5 | notices-for-0.9.0
6 | notices-for-0.9.1
7 | 0.9.4-platform-file
8 | notices-for-facebook-graph-api-2
9 | 1.2.0-standard-minifiers-package
10 | 1.2.0-meteor-platform-split
11 | 1.2.0-cordova-changes
12 | 1.2.0-breaking-changes
13 | 1.3.0-split-minifiers-package
14 | 1.4.0-remove-old-dev-bundle-link
15 | 1.4.1-add-shell-server-package
16 | 1.4.3-split-account-service-packages
17 | 1.5-add-dynamic-import-package
18 |
--------------------------------------------------------------------------------
/end of #14/.meteor/.finished-upgraders:
--------------------------------------------------------------------------------
1 | # This file contains information which helps Meteor properly upgrade your
2 | # app when you run 'meteor update'. You should check it into version control
3 | # with your project.
4 |
5 | notices-for-0.9.0
6 | notices-for-0.9.1
7 | 0.9.4-platform-file
8 | notices-for-facebook-graph-api-2
9 | 1.2.0-standard-minifiers-package
10 | 1.2.0-meteor-platform-split
11 | 1.2.0-cordova-changes
12 | 1.2.0-breaking-changes
13 | 1.3.0-split-minifiers-package
14 | 1.4.0-remove-old-dev-bundle-link
15 | 1.4.1-add-shell-server-package
16 | 1.4.3-split-account-service-packages
17 | 1.5-add-dynamic-import-package
18 |
--------------------------------------------------------------------------------
/end of #15/.meteor/.finished-upgraders:
--------------------------------------------------------------------------------
1 | # This file contains information which helps Meteor properly upgrade your
2 | # app when you run 'meteor update'. You should check it into version control
3 | # with your project.
4 |
5 | notices-for-0.9.0
6 | notices-for-0.9.1
7 | 0.9.4-platform-file
8 | notices-for-facebook-graph-api-2
9 | 1.2.0-standard-minifiers-package
10 | 1.2.0-meteor-platform-split
11 | 1.2.0-cordova-changes
12 | 1.2.0-breaking-changes
13 | 1.3.0-split-minifiers-package
14 | 1.4.0-remove-old-dev-bundle-link
15 | 1.4.1-add-shell-server-package
16 | 1.4.3-split-account-service-packages
17 | 1.5-add-dynamic-import-package
18 |
--------------------------------------------------------------------------------
/end of #16/.meteor/.finished-upgraders:
--------------------------------------------------------------------------------
1 | # This file contains information which helps Meteor properly upgrade your
2 | # app when you run 'meteor update'. You should check it into version control
3 | # with your project.
4 |
5 | notices-for-0.9.0
6 | notices-for-0.9.1
7 | 0.9.4-platform-file
8 | notices-for-facebook-graph-api-2
9 | 1.2.0-standard-minifiers-package
10 | 1.2.0-meteor-platform-split
11 | 1.2.0-cordova-changes
12 | 1.2.0-breaking-changes
13 | 1.3.0-split-minifiers-package
14 | 1.4.0-remove-old-dev-bundle-link
15 | 1.4.1-add-shell-server-package
16 | 1.4.3-split-account-service-packages
17 | 1.5-add-dynamic-import-package
18 |
--------------------------------------------------------------------------------
/end of #17/.meteor/.finished-upgraders:
--------------------------------------------------------------------------------
1 | # This file contains information which helps Meteor properly upgrade your
2 | # app when you run 'meteor update'. You should check it into version control
3 | # with your project.
4 |
5 | notices-for-0.9.0
6 | notices-for-0.9.1
7 | 0.9.4-platform-file
8 | notices-for-facebook-graph-api-2
9 | 1.2.0-standard-minifiers-package
10 | 1.2.0-meteor-platform-split
11 | 1.2.0-cordova-changes
12 | 1.2.0-breaking-changes
13 | 1.3.0-split-minifiers-package
14 | 1.4.0-remove-old-dev-bundle-link
15 | 1.4.1-add-shell-server-package
16 | 1.4.3-split-account-service-packages
17 | 1.5-add-dynamic-import-package
18 |
--------------------------------------------------------------------------------
/end of #18/.meteor/.finished-upgraders:
--------------------------------------------------------------------------------
1 | # This file contains information which helps Meteor properly upgrade your
2 | # app when you run 'meteor update'. You should check it into version control
3 | # with your project.
4 |
5 | notices-for-0.9.0
6 | notices-for-0.9.1
7 | 0.9.4-platform-file
8 | notices-for-facebook-graph-api-2
9 | 1.2.0-standard-minifiers-package
10 | 1.2.0-meteor-platform-split
11 | 1.2.0-cordova-changes
12 | 1.2.0-breaking-changes
13 | 1.3.0-split-minifiers-package
14 | 1.4.0-remove-old-dev-bundle-link
15 | 1.4.1-add-shell-server-package
16 | 1.4.3-split-account-service-packages
17 | 1.5-add-dynamic-import-package
18 |
--------------------------------------------------------------------------------
/end of #19/.meteor/.finished-upgraders:
--------------------------------------------------------------------------------
1 | # This file contains information which helps Meteor properly upgrade your
2 | # app when you run 'meteor update'. You should check it into version control
3 | # with your project.
4 |
5 | notices-for-0.9.0
6 | notices-for-0.9.1
7 | 0.9.4-platform-file
8 | notices-for-facebook-graph-api-2
9 | 1.2.0-standard-minifiers-package
10 | 1.2.0-meteor-platform-split
11 | 1.2.0-cordova-changes
12 | 1.2.0-breaking-changes
13 | 1.3.0-split-minifiers-package
14 | 1.4.0-remove-old-dev-bundle-link
15 | 1.4.1-add-shell-server-package
16 | 1.4.3-split-account-service-packages
17 | 1.5-add-dynamic-import-package
18 |
--------------------------------------------------------------------------------
/end of #20/.meteor/.finished-upgraders:
--------------------------------------------------------------------------------
1 | # This file contains information which helps Meteor properly upgrade your
2 | # app when you run 'meteor update'. You should check it into version control
3 | # with your project.
4 |
5 | notices-for-0.9.0
6 | notices-for-0.9.1
7 | 0.9.4-platform-file
8 | notices-for-facebook-graph-api-2
9 | 1.2.0-standard-minifiers-package
10 | 1.2.0-meteor-platform-split
11 | 1.2.0-cordova-changes
12 | 1.2.0-breaking-changes
13 | 1.3.0-split-minifiers-package
14 | 1.4.0-remove-old-dev-bundle-link
15 | 1.4.1-add-shell-server-package
16 | 1.4.3-split-account-service-packages
17 | 1.5-add-dynamic-import-package
18 |
--------------------------------------------------------------------------------
/end of #21/.meteor/.finished-upgraders:
--------------------------------------------------------------------------------
1 | # This file contains information which helps Meteor properly upgrade your
2 | # app when you run 'meteor update'. You should check it into version control
3 | # with your project.
4 |
5 | notices-for-0.9.0
6 | notices-for-0.9.1
7 | 0.9.4-platform-file
8 | notices-for-facebook-graph-api-2
9 | 1.2.0-standard-minifiers-package
10 | 1.2.0-meteor-platform-split
11 | 1.2.0-cordova-changes
12 | 1.2.0-breaking-changes
13 | 1.3.0-split-minifiers-package
14 | 1.4.0-remove-old-dev-bundle-link
15 | 1.4.1-add-shell-server-package
16 | 1.4.3-split-account-service-packages
17 | 1.5-add-dynamic-import-package
18 |
--------------------------------------------------------------------------------
/end of #22/.meteor/.finished-upgraders:
--------------------------------------------------------------------------------
1 | # This file contains information which helps Meteor properly upgrade your
2 | # app when you run 'meteor update'. You should check it into version control
3 | # with your project.
4 |
5 | notices-for-0.9.0
6 | notices-for-0.9.1
7 | 0.9.4-platform-file
8 | notices-for-facebook-graph-api-2
9 | 1.2.0-standard-minifiers-package
10 | 1.2.0-meteor-platform-split
11 | 1.2.0-cordova-changes
12 | 1.2.0-breaking-changes
13 | 1.3.0-split-minifiers-package
14 | 1.4.0-remove-old-dev-bundle-link
15 | 1.4.1-add-shell-server-package
16 | 1.4.3-split-account-service-packages
17 | 1.5-add-dynamic-import-package
18 |
--------------------------------------------------------------------------------
/end of #23/.meteor/.finished-upgraders:
--------------------------------------------------------------------------------
1 | # This file contains information which helps Meteor properly upgrade your
2 | # app when you run 'meteor update'. You should check it into version control
3 | # with your project.
4 |
5 | notices-for-0.9.0
6 | notices-for-0.9.1
7 | 0.9.4-platform-file
8 | notices-for-facebook-graph-api-2
9 | 1.2.0-standard-minifiers-package
10 | 1.2.0-meteor-platform-split
11 | 1.2.0-cordova-changes
12 | 1.2.0-breaking-changes
13 | 1.3.0-split-minifiers-package
14 | 1.4.0-remove-old-dev-bundle-link
15 | 1.4.1-add-shell-server-package
16 | 1.4.3-split-account-service-packages
17 | 1.5-add-dynamic-import-package
18 |
--------------------------------------------------------------------------------
/end of #24/.meteor/.finished-upgraders:
--------------------------------------------------------------------------------
1 | # This file contains information which helps Meteor properly upgrade your
2 | # app when you run 'meteor update'. You should check it into version control
3 | # with your project.
4 |
5 | notices-for-0.9.0
6 | notices-for-0.9.1
7 | 0.9.4-platform-file
8 | notices-for-facebook-graph-api-2
9 | 1.2.0-standard-minifiers-package
10 | 1.2.0-meteor-platform-split
11 | 1.2.0-cordova-changes
12 | 1.2.0-breaking-changes
13 | 1.3.0-split-minifiers-package
14 | 1.4.0-remove-old-dev-bundle-link
15 | 1.4.1-add-shell-server-package
16 | 1.4.3-split-account-service-packages
17 | 1.5-add-dynamic-import-package
18 |
--------------------------------------------------------------------------------
/end of #25/.meteor/.finished-upgraders:
--------------------------------------------------------------------------------
1 | # This file contains information which helps Meteor properly upgrade your
2 | # app when you run 'meteor update'. You should check it into version control
3 | # with your project.
4 |
5 | notices-for-0.9.0
6 | notices-for-0.9.1
7 | 0.9.4-platform-file
8 | notices-for-facebook-graph-api-2
9 | 1.2.0-standard-minifiers-package
10 | 1.2.0-meteor-platform-split
11 | 1.2.0-cordova-changes
12 | 1.2.0-breaking-changes
13 | 1.3.0-split-minifiers-package
14 | 1.4.0-remove-old-dev-bundle-link
15 | 1.4.1-add-shell-server-package
16 | 1.4.3-split-account-service-packages
17 | 1.5-add-dynamic-import-package
18 |
--------------------------------------------------------------------------------
/end of #26/.meteor/.finished-upgraders:
--------------------------------------------------------------------------------
1 | # This file contains information which helps Meteor properly upgrade your
2 | # app when you run 'meteor update'. You should check it into version control
3 | # with your project.
4 |
5 | notices-for-0.9.0
6 | notices-for-0.9.1
7 | 0.9.4-platform-file
8 | notices-for-facebook-graph-api-2
9 | 1.2.0-standard-minifiers-package
10 | 1.2.0-meteor-platform-split
11 | 1.2.0-cordova-changes
12 | 1.2.0-breaking-changes
13 | 1.3.0-split-minifiers-package
14 | 1.4.0-remove-old-dev-bundle-link
15 | 1.4.1-add-shell-server-package
16 | 1.4.3-split-account-service-packages
17 | 1.5-add-dynamic-import-package
18 |
--------------------------------------------------------------------------------
/end of #27/.meteor/.finished-upgraders:
--------------------------------------------------------------------------------
1 | # This file contains information which helps Meteor properly upgrade your
2 | # app when you run 'meteor update'. You should check it into version control
3 | # with your project.
4 |
5 | notices-for-0.9.0
6 | notices-for-0.9.1
7 | 0.9.4-platform-file
8 | notices-for-facebook-graph-api-2
9 | 1.2.0-standard-minifiers-package
10 | 1.2.0-meteor-platform-split
11 | 1.2.0-cordova-changes
12 | 1.2.0-breaking-changes
13 | 1.3.0-split-minifiers-package
14 | 1.4.0-remove-old-dev-bundle-link
15 | 1.4.1-add-shell-server-package
16 | 1.4.3-split-account-service-packages
17 | 1.5-add-dynamic-import-package
18 |
--------------------------------------------------------------------------------
/end of #8/imports/startup/server/register-api.js:
--------------------------------------------------------------------------------
1 | import { createApolloServer } from "meteor/apollo";
2 | import { makeExecutableSchema } from "graphql-tools";
3 |
4 | import ResolutionsSchema from "../../api/resolutions/Resolutions.graphql";
5 |
6 | const testSchema = `
7 | type Query {
8 | hi: String
9 | }
10 | `;
11 |
12 | const typeDefs = [testSchema, ResolutionsSchema];
13 |
14 | const resolvers = {
15 | Query: {
16 | hi() {
17 | return "Hello Level Up";
18 | }
19 | }
20 | };
21 |
22 | const schema = makeExecutableSchema({
23 | typeDefs,
24 | resolvers
25 | });
26 |
27 | createApolloServer({ schema });
28 |
--------------------------------------------------------------------------------
/end of #10/imports/ui/App.js:
--------------------------------------------------------------------------------
1 | import React from "react";
2 | import gql from "graphql-tag";
3 | import { graphql } from "react-apollo";
4 |
5 | const App = ({ data }) => {
6 | if (data.loading) return null;
7 | return (
8 |
9 |
{data.hi}
10 |
11 | {data.resolutions.map(resolution => (
12 | - {resolution.name}
13 | ))}
14 |
15 |
16 | );
17 | };
18 |
19 | const hiQuery = gql`
20 | {
21 | hi
22 | resolutions {
23 | _id
24 | name
25 | }
26 | }
27 | `;
28 |
29 | export default graphql(hiQuery)(App);
30 |
--------------------------------------------------------------------------------
/end of #11/imports/ui/App.js:
--------------------------------------------------------------------------------
1 | import React from "react";
2 | import gql from "graphql-tag";
3 | import { graphql } from "react-apollo";
4 |
5 | const App = ({ data }) => {
6 | if (data.loading) return null;
7 | return (
8 |
9 |
{data.hi}
10 |
11 | {data.resolutions.map(resolution => (
12 | - {resolution.name}
13 | ))}
14 |
15 |
16 | );
17 | };
18 |
19 | const hiQuery = gql`
20 | {
21 | hi
22 | resolutions {
23 | _id
24 | name
25 | }
26 | }
27 | `;
28 |
29 | export default graphql(hiQuery)(App);
30 |
--------------------------------------------------------------------------------
/end of #15/imports/ui/LoginForm.js:
--------------------------------------------------------------------------------
1 | import React, { Component } from "react";
2 | import { Accounts } from "meteor/accounts-base";
3 |
4 | export default class LoginForm extends Component {
5 | login = e => {
6 | e.preventDefault();
7 | Meteor.loginWithPassword(this.email.value, this.password.value, error => {
8 | console.log(error);
9 | });
10 | };
11 |
12 | render() {
13 | return (
14 |
19 | );
20 | }
21 | }
22 |
--------------------------------------------------------------------------------
/end of #16/imports/ui/LoginForm.js:
--------------------------------------------------------------------------------
1 | import React, { Component } from "react";
2 | import { Accounts } from "meteor/accounts-base";
3 |
4 | export default class LoginForm extends Component {
5 | login = e => {
6 | e.preventDefault();
7 | Meteor.loginWithPassword(this.email.value, this.password.value, error => {
8 | console.log(error);
9 | });
10 | };
11 |
12 | render() {
13 | return (
14 |
19 | );
20 | }
21 | }
22 |
--------------------------------------------------------------------------------
/apollo/imports/api/goals/resolvers.js:
--------------------------------------------------------------------------------
1 | import Goals from "./goals";
2 |
3 | export default {
4 | Mutation: {
5 | createGoal(obj, { name, resolutionId }, { userId }) {
6 | if (userId) {
7 | const goalId = Goals.insert({
8 | name,
9 | resolutionId,
10 | completed: false
11 | });
12 | return Goals.findOne(goalId);
13 | }
14 | throw new Error("Unauthortized");
15 | },
16 | toggleGoal(obj, { _id }) {
17 | const goal = Goals.findOne(_id);
18 | Goals.update(_id, {
19 | $set: {
20 | completed: !goal.completed
21 | }
22 | });
23 | return Goals.findOne(_id);
24 | }
25 | }
26 | };
27 |
--------------------------------------------------------------------------------
/end of #8/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "apollo",
3 | "private": true,
4 | "scripts": {
5 | "start": "meteor run"
6 | },
7 | "dependencies": {
8 | "apollo-client": "^2.0.4",
9 | "apollo-client-preset": "^1.0.5",
10 | "babel-runtime": "^6.26.0",
11 | "body-parser": "^1.18.2",
12 | "express": "^4.16.2",
13 | "graphql": "^0.12.3",
14 | "graphql-server-express": "^1.3.2",
15 | "graphql-tag": "^2.6.1",
16 | "graphql-tools": "^2.15.0",
17 | "meteor-node-stubs": "^0.3.2",
18 | "react": "^16.2.0",
19 | "react-apollo": "^2.0.4",
20 | "react-dom": "^16.2.0"
21 | },
22 | "devDependencies": {
23 | "babel-plugin-inline-import": "^2.0.6"
24 | }
25 | }
26 |
--------------------------------------------------------------------------------
/end of #27/imports/api/goals/resolvers.js:
--------------------------------------------------------------------------------
1 | import Goals from "./goals";
2 |
3 | export default {
4 | Mutation: {
5 | createGoal(obj, { name, resolutionId }, { userId }) {
6 | if (userId) {
7 | const goalId = Goals.insert({
8 | name,
9 | resolutionId,
10 | completed: false
11 | });
12 | return Goals.findOne(goalId);
13 | }
14 | throw new Error("Unauthortized");
15 | },
16 | toggleGoal(obj, { _id }) {
17 | const goal = Goals.findOne(_id);
18 | Goals.update(_id, {
19 | $set: {
20 | completed: !goal.completed
21 | }
22 | });
23 | return Goals.findOne(_id);
24 | }
25 | }
26 | };
27 |
--------------------------------------------------------------------------------
/apollo2/imports/api/resolutions/resolvers.js:
--------------------------------------------------------------------------------
1 | import Resolutions from "./resolutions";
2 | import Goals from "../goals/goals";
3 |
4 | export default {
5 | Query: {
6 | resolutions(obj, args, { userId }) {
7 | return Resolutions.find({
8 | userId
9 | }).fetch();
10 | }
11 | },
12 |
13 | Resolution: {
14 | goals: resolution =>
15 | Goals.find({
16 | resolutionId: resolution._id
17 | }).fetch()
18 | },
19 |
20 | Mutation: {
21 | createResolution(obj, { name }, { userId }) {
22 | const resolutionId = Resolutions.insert({
23 | name,
24 | userId
25 | });
26 | return Resolutions.findOne(resolutionId);
27 | }
28 | }
29 | };
30 |
--------------------------------------------------------------------------------
/end of #12/imports/ui/App.js:
--------------------------------------------------------------------------------
1 | import React from "react";
2 | import gql from "graphql-tag";
3 | import { graphql } from "react-apollo";
4 | import ResolutionForm from "./ResolutionForm";
5 |
6 | const App = ({ data }) => {
7 | if (data.loading) return null;
8 | return (
9 |
10 |
{data.hi}
11 |
12 |
13 | {data.resolutions.map(resolution => (
14 | - {resolution.name}
15 | ))}
16 |
17 |
18 | );
19 | };
20 |
21 | const hiQuery = gql`
22 | {
23 | hi
24 | resolutions {
25 | _id
26 | name
27 | }
28 | }
29 | `;
30 |
31 | export default graphql(hiQuery)(App);
32 |
--------------------------------------------------------------------------------
/end of #22/imports/api/resolutions/resolvers.js:
--------------------------------------------------------------------------------
1 | import Resolutions from "./resolutions";
2 | import Goals from "../goals/goals";
3 |
4 | export default {
5 | Query: {
6 | resolutions(obj, args, { userId }) {
7 | return Resolutions.find({
8 | userId
9 | }).fetch();
10 | }
11 | },
12 |
13 | Resolution: {
14 | goals: resolution =>
15 | Goals.find({
16 | resolutionId: resolution._id
17 | }).fetch()
18 | },
19 |
20 | Mutation: {
21 | createResolution(obj, { name }, { userId }) {
22 | const resolutionId = Resolutions.insert({
23 | name,
24 | userId
25 | });
26 | return Resolutions.findOne(resolutionId);
27 | }
28 | }
29 | };
30 |
--------------------------------------------------------------------------------
/end of #23/imports/api/resolutions/resolvers.js:
--------------------------------------------------------------------------------
1 | import Resolutions from "./resolutions";
2 | import Goals from "../goals/goals";
3 |
4 | export default {
5 | Query: {
6 | resolutions(obj, args, { userId }) {
7 | return Resolutions.find({
8 | userId
9 | }).fetch();
10 | }
11 | },
12 |
13 | Resolution: {
14 | goals: resolution =>
15 | Goals.find({
16 | resolutionId: resolution._id
17 | }).fetch()
18 | },
19 |
20 | Mutation: {
21 | createResolution(obj, { name }, { userId }) {
22 | const resolutionId = Resolutions.insert({
23 | name,
24 | userId
25 | });
26 | return Resolutions.findOne(resolutionId);
27 | }
28 | }
29 | };
30 |
--------------------------------------------------------------------------------
/end of #24/imports/api/resolutions/resolvers.js:
--------------------------------------------------------------------------------
1 | import Resolutions from "./resolutions";
2 | import Goals from "../goals/goals";
3 |
4 | export default {
5 | Query: {
6 | resolutions(obj, args, { userId }) {
7 | return Resolutions.find({
8 | userId
9 | }).fetch();
10 | }
11 | },
12 |
13 | Resolution: {
14 | goals: resolution =>
15 | Goals.find({
16 | resolutionId: resolution._id
17 | }).fetch()
18 | },
19 |
20 | Mutation: {
21 | createResolution(obj, { name }, { userId }) {
22 | const resolutionId = Resolutions.insert({
23 | name,
24 | userId
25 | });
26 | return Resolutions.findOne(resolutionId);
27 | }
28 | }
29 | };
30 |
--------------------------------------------------------------------------------
/end of #10/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "apollo",
3 | "private": true,
4 | "scripts": {
5 | "start": "meteor run"
6 | },
7 | "dependencies": {
8 | "apollo-client": "^2.0.4",
9 | "apollo-client-preset": "^1.0.5",
10 | "babel-runtime": "^6.26.0",
11 | "body-parser": "^1.18.2",
12 | "express": "^4.16.2",
13 | "graphql": "^0.12.3",
14 | "graphql-server-express": "^1.3.2",
15 | "graphql-tag": "^2.6.1",
16 | "graphql-tools": "^2.15.0",
17 | "lodash": "^4.17.4",
18 | "meteor-node-stubs": "^0.3.2",
19 | "react": "^16.2.0",
20 | "react-apollo": "^2.0.4",
21 | "react-dom": "^16.2.0"
22 | },
23 | "devDependencies": {
24 | "babel-plugin-inline-import": "^2.0.6"
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/end of #11/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "apollo",
3 | "private": true,
4 | "scripts": {
5 | "start": "meteor run"
6 | },
7 | "dependencies": {
8 | "apollo-client": "^2.0.4",
9 | "apollo-client-preset": "^1.0.5",
10 | "babel-runtime": "^6.26.0",
11 | "body-parser": "^1.18.2",
12 | "express": "^4.16.2",
13 | "graphql": "^0.12.3",
14 | "graphql-server-express": "^1.3.2",
15 | "graphql-tag": "^2.6.1",
16 | "graphql-tools": "^2.15.0",
17 | "lodash": "^4.17.4",
18 | "meteor-node-stubs": "^0.3.2",
19 | "react": "^16.2.0",
20 | "react-apollo": "^2.0.4",
21 | "react-dom": "^16.2.0"
22 | },
23 | "devDependencies": {
24 | "babel-plugin-inline-import": "^2.0.6"
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/end of #12/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "apollo",
3 | "private": true,
4 | "scripts": {
5 | "start": "meteor run"
6 | },
7 | "dependencies": {
8 | "apollo-client": "^2.0.4",
9 | "apollo-client-preset": "^1.0.5",
10 | "babel-runtime": "^6.26.0",
11 | "body-parser": "^1.18.2",
12 | "express": "^4.16.2",
13 | "graphql": "^0.12.3",
14 | "graphql-server-express": "^1.3.2",
15 | "graphql-tag": "^2.6.1",
16 | "graphql-tools": "^2.15.0",
17 | "lodash": "^4.17.4",
18 | "meteor-node-stubs": "^0.3.2",
19 | "react": "^16.2.0",
20 | "react-apollo": "^2.0.4",
21 | "react-dom": "^16.2.0"
22 | },
23 | "devDependencies": {
24 | "babel-plugin-inline-import": "^2.0.6"
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/end of #13/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "apollo",
3 | "private": true,
4 | "scripts": {
5 | "start": "meteor run"
6 | },
7 | "dependencies": {
8 | "apollo-client": "^2.0.4",
9 | "apollo-client-preset": "^1.0.5",
10 | "babel-runtime": "^6.26.0",
11 | "body-parser": "^1.18.2",
12 | "express": "^4.16.2",
13 | "graphql": "^0.12.3",
14 | "graphql-server-express": "^1.3.2",
15 | "graphql-tag": "^2.6.1",
16 | "graphql-tools": "^2.15.0",
17 | "lodash": "^4.17.4",
18 | "meteor-node-stubs": "^0.3.2",
19 | "react": "^16.2.0",
20 | "react-apollo": "^2.0.4",
21 | "react-dom": "^16.2.0"
22 | },
23 | "devDependencies": {
24 | "babel-plugin-inline-import": "^2.0.6"
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/end of #14/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "apollo",
3 | "private": true,
4 | "scripts": {
5 | "start": "meteor run"
6 | },
7 | "dependencies": {
8 | "apollo-client": "^2.0.4",
9 | "apollo-client-preset": "^1.0.5",
10 | "babel-runtime": "^6.26.0",
11 | "body-parser": "^1.18.2",
12 | "express": "^4.16.2",
13 | "graphql": "^0.12.3",
14 | "graphql-server-express": "^1.3.2",
15 | "graphql-tag": "^2.6.1",
16 | "graphql-tools": "^2.15.0",
17 | "lodash": "^4.17.4",
18 | "meteor-node-stubs": "^0.3.2",
19 | "react": "^16.2.0",
20 | "react-apollo": "^2.0.4",
21 | "react-dom": "^16.2.0"
22 | },
23 | "devDependencies": {
24 | "babel-plugin-inline-import": "^2.0.6"
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/end of #13/imports/ui/App.js:
--------------------------------------------------------------------------------
1 | import React from "react";
2 | import gql from "graphql-tag";
3 | import { graphql } from "react-apollo";
4 | import ResolutionForm from "./ResolutionForm";
5 |
6 | const App = ({ data }) => {
7 | if (data.loading) return null;
8 | return (
9 |
10 |
{data.hi}
11 |
12 |
13 | {data.resolutions.map(resolution => (
14 | - {resolution.name}
15 | ))}
16 |
17 |
18 | );
19 | };
20 |
21 | const hiQuery = gql`
22 | {
23 | hi
24 | resolutions {
25 | _id
26 | name
27 | }
28 | }
29 | `;
30 |
31 | export default graphql(hiQuery)(App);
32 |
--------------------------------------------------------------------------------
/apollo/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "apollo",
3 | "private": true,
4 | "scripts": {
5 | "start": "meteor run"
6 | },
7 | "dependencies": {
8 | "apollo-client": "^2.0.4",
9 | "apollo-client-preset": "^1.0.5",
10 | "babel-runtime": "^6.26.0",
11 | "bcrypt": "^1.0.3",
12 | "body-parser": "^1.18.2",
13 | "express": "^4.16.2",
14 | "graphql": "^0.12.3",
15 | "graphql-server-express": "^1.3.2",
16 | "graphql-tag": "^2.6.1",
17 | "graphql-tools": "^2.15.0",
18 | "lodash": "^4.17.4",
19 | "meteor-node-stubs": "^0.3.2",
20 | "react": "^16.2.0",
21 | "react-apollo": "^2.0.4",
22 | "react-dom": "^16.2.0"
23 | },
24 | "devDependencies": {
25 | "babel-plugin-inline-import": "^2.0.6"
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/end of #19/imports/startup/server/register-api.js:
--------------------------------------------------------------------------------
1 | import { createApolloServer } from "meteor/apollo";
2 | import { makeExecutableSchema } from "graphql-tools";
3 | import merge from "lodash/merge";
4 |
5 | import ResolutionsSchema from "../../api/resolutions/Resolutions.graphql";
6 | import ResolutionsResolvers from "../../api/resolutions/resolvers";
7 | import UsersSchema from "../../api/users/User.graphql";
8 | import UsersResolvers from "../../api/users/resolvers";
9 |
10 | // hkssslllllll
11 |
12 | const typeDefs = [ResolutionsSchema, UsersSchema];
13 |
14 | const resolvers = merge(ResolutionsResolvers, UsersResolvers);
15 |
16 | const schema = makeExecutableSchema({
17 | typeDefs,
18 | resolvers
19 | });
20 |
21 | createApolloServer({ schema });
22 |
--------------------------------------------------------------------------------
/end of #20/imports/startup/server/register-api.js:
--------------------------------------------------------------------------------
1 | import { createApolloServer } from "meteor/apollo";
2 | import { makeExecutableSchema } from "graphql-tools";
3 | import merge from "lodash/merge";
4 |
5 | import ResolutionsSchema from "../../api/resolutions/Resolutions.graphql";
6 | import ResolutionsResolvers from "../../api/resolutions/resolvers";
7 | import UsersSchema from "../../api/users/User.graphql";
8 | import UsersResolvers from "../../api/users/resolvers";
9 |
10 | // hkssslllllll
11 |
12 | const typeDefs = [ResolutionsSchema, UsersSchema];
13 |
14 | const resolvers = merge(ResolutionsResolvers, UsersResolvers);
15 |
16 | const schema = makeExecutableSchema({
17 | typeDefs,
18 | resolvers
19 | });
20 |
21 | createApolloServer({ schema });
22 |
--------------------------------------------------------------------------------
/end of #15/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "apollo",
3 | "private": true,
4 | "scripts": {
5 | "start": "meteor run"
6 | },
7 | "dependencies": {
8 | "apollo-client": "^2.0.4",
9 | "apollo-client-preset": "^1.0.5",
10 | "babel-runtime": "^6.26.0",
11 | "bcrypt": "^1.0.3",
12 | "body-parser": "^1.18.2",
13 | "express": "^4.16.2",
14 | "graphql": "^0.12.3",
15 | "graphql-server-express": "^1.3.2",
16 | "graphql-tag": "^2.6.1",
17 | "graphql-tools": "^2.15.0",
18 | "lodash": "^4.17.4",
19 | "meteor-node-stubs": "^0.3.2",
20 | "react": "^16.2.0",
21 | "react-apollo": "^2.0.4",
22 | "react-dom": "^16.2.0"
23 | },
24 | "devDependencies": {
25 | "babel-plugin-inline-import": "^2.0.6"
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/end of #16/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "apollo",
3 | "private": true,
4 | "scripts": {
5 | "start": "meteor run"
6 | },
7 | "dependencies": {
8 | "apollo-client": "^2.0.4",
9 | "apollo-client-preset": "^1.0.5",
10 | "babel-runtime": "^6.26.0",
11 | "bcrypt": "^1.0.3",
12 | "body-parser": "^1.18.2",
13 | "express": "^4.16.2",
14 | "graphql": "^0.12.3",
15 | "graphql-server-express": "^1.3.2",
16 | "graphql-tag": "^2.6.1",
17 | "graphql-tools": "^2.15.0",
18 | "lodash": "^4.17.4",
19 | "meteor-node-stubs": "^0.3.2",
20 | "react": "^16.2.0",
21 | "react-apollo": "^2.0.4",
22 | "react-dom": "^16.2.0"
23 | },
24 | "devDependencies": {
25 | "babel-plugin-inline-import": "^2.0.6"
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/end of #17/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "apollo",
3 | "private": true,
4 | "scripts": {
5 | "start": "meteor run"
6 | },
7 | "dependencies": {
8 | "apollo-client": "^2.0.4",
9 | "apollo-client-preset": "^1.0.5",
10 | "babel-runtime": "^6.26.0",
11 | "bcrypt": "^1.0.3",
12 | "body-parser": "^1.18.2",
13 | "express": "^4.16.2",
14 | "graphql": "^0.12.3",
15 | "graphql-server-express": "^1.3.2",
16 | "graphql-tag": "^2.6.1",
17 | "graphql-tools": "^2.15.0",
18 | "lodash": "^4.17.4",
19 | "meteor-node-stubs": "^0.3.2",
20 | "react": "^16.2.0",
21 | "react-apollo": "^2.0.4",
22 | "react-dom": "^16.2.0"
23 | },
24 | "devDependencies": {
25 | "babel-plugin-inline-import": "^2.0.6"
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/end of #18/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "apollo",
3 | "private": true,
4 | "scripts": {
5 | "start": "meteor run"
6 | },
7 | "dependencies": {
8 | "apollo-client": "^2.0.4",
9 | "apollo-client-preset": "^1.0.5",
10 | "babel-runtime": "^6.26.0",
11 | "bcrypt": "^1.0.3",
12 | "body-parser": "^1.18.2",
13 | "express": "^4.16.2",
14 | "graphql": "^0.12.3",
15 | "graphql-server-express": "^1.3.2",
16 | "graphql-tag": "^2.6.1",
17 | "graphql-tools": "^2.15.0",
18 | "lodash": "^4.17.4",
19 | "meteor-node-stubs": "^0.3.2",
20 | "react": "^16.2.0",
21 | "react-apollo": "^2.0.4",
22 | "react-dom": "^16.2.0"
23 | },
24 | "devDependencies": {
25 | "babel-plugin-inline-import": "^2.0.6"
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/end of #19/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "apollo",
3 | "private": true,
4 | "scripts": {
5 | "start": "meteor run"
6 | },
7 | "dependencies": {
8 | "apollo-client": "^2.0.4",
9 | "apollo-client-preset": "^1.0.5",
10 | "babel-runtime": "^6.26.0",
11 | "bcrypt": "^1.0.3",
12 | "body-parser": "^1.18.2",
13 | "express": "^4.16.2",
14 | "graphql": "^0.12.3",
15 | "graphql-server-express": "^1.3.2",
16 | "graphql-tag": "^2.6.1",
17 | "graphql-tools": "^2.15.0",
18 | "lodash": "^4.17.4",
19 | "meteor-node-stubs": "^0.3.2",
20 | "react": "^16.2.0",
21 | "react-apollo": "^2.0.4",
22 | "react-dom": "^16.2.0"
23 | },
24 | "devDependencies": {
25 | "babel-plugin-inline-import": "^2.0.6"
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/end of #20/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "apollo",
3 | "private": true,
4 | "scripts": {
5 | "start": "meteor run"
6 | },
7 | "dependencies": {
8 | "apollo-client": "^2.0.4",
9 | "apollo-client-preset": "^1.0.5",
10 | "babel-runtime": "^6.26.0",
11 | "bcrypt": "^1.0.3",
12 | "body-parser": "^1.18.2",
13 | "express": "^4.16.2",
14 | "graphql": "^0.12.3",
15 | "graphql-server-express": "^1.3.2",
16 | "graphql-tag": "^2.6.1",
17 | "graphql-tools": "^2.15.0",
18 | "lodash": "^4.17.4",
19 | "meteor-node-stubs": "^0.3.2",
20 | "react": "^16.2.0",
21 | "react-apollo": "^2.0.4",
22 | "react-dom": "^16.2.0"
23 | },
24 | "devDependencies": {
25 | "babel-plugin-inline-import": "^2.0.6"
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/end of #21/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "apollo",
3 | "private": true,
4 | "scripts": {
5 | "start": "meteor run"
6 | },
7 | "dependencies": {
8 | "apollo-client": "^2.0.4",
9 | "apollo-client-preset": "^1.0.5",
10 | "babel-runtime": "^6.26.0",
11 | "bcrypt": "^1.0.3",
12 | "body-parser": "^1.18.2",
13 | "express": "^4.16.2",
14 | "graphql": "^0.12.3",
15 | "graphql-server-express": "^1.3.2",
16 | "graphql-tag": "^2.6.1",
17 | "graphql-tools": "^2.15.0",
18 | "lodash": "^4.17.4",
19 | "meteor-node-stubs": "^0.3.2",
20 | "react": "^16.2.0",
21 | "react-apollo": "^2.0.4",
22 | "react-dom": "^16.2.0"
23 | },
24 | "devDependencies": {
25 | "babel-plugin-inline-import": "^2.0.6"
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/end of #22/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "apollo",
3 | "private": true,
4 | "scripts": {
5 | "start": "meteor run"
6 | },
7 | "dependencies": {
8 | "apollo-client": "^2.0.4",
9 | "apollo-client-preset": "^1.0.5",
10 | "babel-runtime": "^6.26.0",
11 | "bcrypt": "^1.0.3",
12 | "body-parser": "^1.18.2",
13 | "express": "^4.16.2",
14 | "graphql": "^0.12.3",
15 | "graphql-server-express": "^1.3.2",
16 | "graphql-tag": "^2.6.1",
17 | "graphql-tools": "^2.15.0",
18 | "lodash": "^4.17.4",
19 | "meteor-node-stubs": "^0.3.2",
20 | "react": "^16.2.0",
21 | "react-apollo": "^2.0.4",
22 | "react-dom": "^16.2.0"
23 | },
24 | "devDependencies": {
25 | "babel-plugin-inline-import": "^2.0.6"
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/end of #23/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "apollo",
3 | "private": true,
4 | "scripts": {
5 | "start": "meteor run"
6 | },
7 | "dependencies": {
8 | "apollo-client": "^2.0.4",
9 | "apollo-client-preset": "^1.0.5",
10 | "babel-runtime": "^6.26.0",
11 | "bcrypt": "^1.0.3",
12 | "body-parser": "^1.18.2",
13 | "express": "^4.16.2",
14 | "graphql": "^0.12.3",
15 | "graphql-server-express": "^1.3.2",
16 | "graphql-tag": "^2.6.1",
17 | "graphql-tools": "^2.15.0",
18 | "lodash": "^4.17.4",
19 | "meteor-node-stubs": "^0.3.2",
20 | "react": "^16.2.0",
21 | "react-apollo": "^2.0.4",
22 | "react-dom": "^16.2.0"
23 | },
24 | "devDependencies": {
25 | "babel-plugin-inline-import": "^2.0.6"
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/end of #24/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "apollo",
3 | "private": true,
4 | "scripts": {
5 | "start": "meteor run"
6 | },
7 | "dependencies": {
8 | "apollo-client": "^2.0.4",
9 | "apollo-client-preset": "^1.0.5",
10 | "babel-runtime": "^6.26.0",
11 | "bcrypt": "^1.0.3",
12 | "body-parser": "^1.18.2",
13 | "express": "^4.16.2",
14 | "graphql": "^0.12.3",
15 | "graphql-server-express": "^1.3.2",
16 | "graphql-tag": "^2.6.1",
17 | "graphql-tools": "^2.15.0",
18 | "lodash": "^4.17.4",
19 | "meteor-node-stubs": "^0.3.2",
20 | "react": "^16.2.0",
21 | "react-apollo": "^2.0.4",
22 | "react-dom": "^16.2.0"
23 | },
24 | "devDependencies": {
25 | "babel-plugin-inline-import": "^2.0.6"
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/end of #25/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "apollo",
3 | "private": true,
4 | "scripts": {
5 | "start": "meteor run"
6 | },
7 | "dependencies": {
8 | "apollo-client": "^2.0.4",
9 | "apollo-client-preset": "^1.0.5",
10 | "babel-runtime": "^6.26.0",
11 | "bcrypt": "^1.0.3",
12 | "body-parser": "^1.18.2",
13 | "express": "^4.16.2",
14 | "graphql": "^0.12.3",
15 | "graphql-server-express": "^1.3.2",
16 | "graphql-tag": "^2.6.1",
17 | "graphql-tools": "^2.15.0",
18 | "lodash": "^4.17.4",
19 | "meteor-node-stubs": "^0.3.2",
20 | "react": "^16.2.0",
21 | "react-apollo": "^2.0.4",
22 | "react-dom": "^16.2.0"
23 | },
24 | "devDependencies": {
25 | "babel-plugin-inline-import": "^2.0.6"
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/end of #26/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "apollo",
3 | "private": true,
4 | "scripts": {
5 | "start": "meteor run"
6 | },
7 | "dependencies": {
8 | "apollo-client": "^2.0.4",
9 | "apollo-client-preset": "^1.0.5",
10 | "babel-runtime": "^6.26.0",
11 | "bcrypt": "^1.0.3",
12 | "body-parser": "^1.18.2",
13 | "express": "^4.16.2",
14 | "graphql": "^0.12.3",
15 | "graphql-server-express": "^1.3.2",
16 | "graphql-tag": "^2.6.1",
17 | "graphql-tools": "^2.15.0",
18 | "lodash": "^4.17.4",
19 | "meteor-node-stubs": "^0.3.2",
20 | "react": "^16.2.0",
21 | "react-apollo": "^2.0.4",
22 | "react-dom": "^16.2.0"
23 | },
24 | "devDependencies": {
25 | "babel-plugin-inline-import": "^2.0.6"
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/end of #27/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "apollo",
3 | "private": true,
4 | "scripts": {
5 | "start": "meteor run"
6 | },
7 | "dependencies": {
8 | "apollo-client": "^2.0.4",
9 | "apollo-client-preset": "^1.0.5",
10 | "babel-runtime": "^6.26.0",
11 | "bcrypt": "^1.0.3",
12 | "body-parser": "^1.18.2",
13 | "express": "^4.16.2",
14 | "graphql": "^0.12.3",
15 | "graphql-server-express": "^1.3.2",
16 | "graphql-tag": "^2.6.1",
17 | "graphql-tools": "^2.15.0",
18 | "lodash": "^4.17.4",
19 | "meteor-node-stubs": "^0.3.2",
20 | "react": "^16.2.0",
21 | "react-apollo": "^2.0.4",
22 | "react-dom": "^16.2.0"
23 | },
24 | "devDependencies": {
25 | "babel-plugin-inline-import": "^2.0.6"
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/end of #14/imports/ui/App.js:
--------------------------------------------------------------------------------
1 | import React from "react";
2 | import gql from "graphql-tag";
3 | import { graphql } from "react-apollo";
4 | import ResolutionForm from "./ResolutionForm";
5 |
6 | const App = ({ loading, resolutions }) => {
7 | if (loading) return null;
8 | return (
9 |
10 |
11 |
12 | {resolutions.map(resolution => (
13 | - {resolution.name}
14 | ))}
15 |
16 |
17 | );
18 | };
19 |
20 | const resolutionsQuery = gql`
21 | query Resolutions {
22 | resolutions {
23 | _id
24 | name
25 | }
26 | }
27 | `;
28 |
29 | export default graphql(resolutionsQuery, {
30 | props: ({ data }) => ({ ...data })
31 | })(App);
32 |
--------------------------------------------------------------------------------
/end of #12/imports/ui/ResolutionForm.js:
--------------------------------------------------------------------------------
1 | import React, { Component } from "react";
2 | import gql from "graphql-tag";
3 | import { graphql } from "react-apollo";
4 |
5 | const createResolution = gql`
6 | mutation createResolution {
7 | createResolution {
8 | _id
9 | }
10 | }
11 | `;
12 |
13 | class ResolutionForm extends Component {
14 | submitForm = () => {
15 | console.log(this.name.value);
16 | this.props.createResolution();
17 | };
18 |
19 | render() {
20 | return (
21 |
22 | (this.name = input)} />
23 |
24 |
25 | );
26 | }
27 | }
28 |
29 | export default graphql(createResolution, {
30 | name: "createResolution"
31 | })(ResolutionForm);
32 |
--------------------------------------------------------------------------------
/end of #15/imports/ui/RegisterForm.js:
--------------------------------------------------------------------------------
1 | import React, { Component } from "react";
2 | import { Accounts } from "meteor/accounts-base";
3 |
4 | export default class RegisterForm extends Component {
5 | registerUser = e => {
6 | e.preventDefault();
7 | Accounts.createUser(
8 | {
9 | email: this.email.value,
10 | password: this.password.value
11 | },
12 | error => {
13 | console.log(error);
14 | }
15 | );
16 | };
17 |
18 | render() {
19 | return (
20 |
25 | );
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/end of #16/imports/ui/RegisterForm.js:
--------------------------------------------------------------------------------
1 | import React, { Component } from "react";
2 | import { Accounts } from "meteor/accounts-base";
3 |
4 | export default class RegisterForm extends Component {
5 | registerUser = e => {
6 | e.preventDefault();
7 | Accounts.createUser(
8 | {
9 | email: this.email.value,
10 | password: this.password.value
11 | },
12 | error => {
13 | console.log(error);
14 | }
15 | );
16 | };
17 |
18 | render() {
19 | return (
20 |
25 | );
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/apollo/imports/ui/LoginForm.js:
--------------------------------------------------------------------------------
1 | import React, { Component } from "react";
2 | import { Accounts } from "meteor/accounts-base";
3 | import { withApollo } from "react-apollo";
4 |
5 | export default class LoginForm extends Component {
6 | login = e => {
7 | e.preventDefault();
8 | Meteor.loginWithPassword(this.email.value, this.password.value, error => {
9 | console.log(error);
10 | if (!error) {
11 | this.props.client.resetStore();
12 | }
13 | });
14 | };
15 |
16 | render() {
17 | return (
18 |
23 | );
24 | }
25 | }
26 |
--------------------------------------------------------------------------------
/apollo2/imports/ui/LoginForm.js:
--------------------------------------------------------------------------------
1 | import React, { Component } from "react";
2 | import { Accounts } from "meteor/accounts-base";
3 | import { withApollo } from "react-apollo";
4 |
5 | export default class LoginForm extends Component {
6 | login = e => {
7 | e.preventDefault();
8 | Meteor.loginWithPassword(this.email.value, this.password.value, error => {
9 | console.log(error);
10 | if (!error) {
11 | this.props.client.resetStore();
12 | }
13 | });
14 | };
15 |
16 | render() {
17 | return (
18 |
23 | );
24 | }
25 | }
26 |
--------------------------------------------------------------------------------
/end of #17/imports/ui/LoginForm.js:
--------------------------------------------------------------------------------
1 | import React, { Component } from "react";
2 | import { Accounts } from "meteor/accounts-base";
3 | import { withApollo } from "react-apollo";
4 |
5 | export default class LoginForm extends Component {
6 | login = e => {
7 | e.preventDefault();
8 | Meteor.loginWithPassword(this.email.value, this.password.value, error => {
9 | console.log(error);
10 | if (!error) {
11 | this.props.client.resetStore();
12 | }
13 | });
14 | };
15 |
16 | render() {
17 | return (
18 |
23 | );
24 | }
25 | }
26 |
--------------------------------------------------------------------------------
/end of #18/imports/ui/LoginForm.js:
--------------------------------------------------------------------------------
1 | import React, { Component } from "react";
2 | import { Accounts } from "meteor/accounts-base";
3 | import { withApollo } from "react-apollo";
4 |
5 | export default class LoginForm extends Component {
6 | login = e => {
7 | e.preventDefault();
8 | Meteor.loginWithPassword(this.email.value, this.password.value, error => {
9 | console.log(error);
10 | if (!error) {
11 | this.props.client.resetStore();
12 | }
13 | });
14 | };
15 |
16 | render() {
17 | return (
18 |
23 | );
24 | }
25 | }
26 |
--------------------------------------------------------------------------------
/end of #19/imports/ui/LoginForm.js:
--------------------------------------------------------------------------------
1 | import React, { Component } from "react";
2 | import { Accounts } from "meteor/accounts-base";
3 | import { withApollo } from "react-apollo";
4 |
5 | export default class LoginForm extends Component {
6 | login = e => {
7 | e.preventDefault();
8 | Meteor.loginWithPassword(this.email.value, this.password.value, error => {
9 | console.log(error);
10 | if (!error) {
11 | this.props.client.resetStore();
12 | }
13 | });
14 | };
15 |
16 | render() {
17 | return (
18 |
23 | );
24 | }
25 | }
26 |
--------------------------------------------------------------------------------
/end of #20/imports/ui/LoginForm.js:
--------------------------------------------------------------------------------
1 | import React, { Component } from "react";
2 | import { Accounts } from "meteor/accounts-base";
3 | import { withApollo } from "react-apollo";
4 |
5 | export default class LoginForm extends Component {
6 | login = e => {
7 | e.preventDefault();
8 | Meteor.loginWithPassword(this.email.value, this.password.value, error => {
9 | console.log(error);
10 | if (!error) {
11 | this.props.client.resetStore();
12 | }
13 | });
14 | };
15 |
16 | render() {
17 | return (
18 |
23 | );
24 | }
25 | }
26 |
--------------------------------------------------------------------------------
/end of #21/imports/ui/LoginForm.js:
--------------------------------------------------------------------------------
1 | import React, { Component } from "react";
2 | import { Accounts } from "meteor/accounts-base";
3 | import { withApollo } from "react-apollo";
4 |
5 | export default class LoginForm extends Component {
6 | login = e => {
7 | e.preventDefault();
8 | Meteor.loginWithPassword(this.email.value, this.password.value, error => {
9 | console.log(error);
10 | if (!error) {
11 | this.props.client.resetStore();
12 | }
13 | });
14 | };
15 |
16 | render() {
17 | return (
18 |
23 | );
24 | }
25 | }
26 |
--------------------------------------------------------------------------------
/end of #22/imports/ui/LoginForm.js:
--------------------------------------------------------------------------------
1 | import React, { Component } from "react";
2 | import { Accounts } from "meteor/accounts-base";
3 | import { withApollo } from "react-apollo";
4 |
5 | export default class LoginForm extends Component {
6 | login = e => {
7 | e.preventDefault();
8 | Meteor.loginWithPassword(this.email.value, this.password.value, error => {
9 | console.log(error);
10 | if (!error) {
11 | this.props.client.resetStore();
12 | }
13 | });
14 | };
15 |
16 | render() {
17 | return (
18 |
23 | );
24 | }
25 | }
26 |
--------------------------------------------------------------------------------
/end of #23/imports/ui/LoginForm.js:
--------------------------------------------------------------------------------
1 | import React, { Component } from "react";
2 | import { Accounts } from "meteor/accounts-base";
3 | import { withApollo } from "react-apollo";
4 |
5 | export default class LoginForm extends Component {
6 | login = e => {
7 | e.preventDefault();
8 | Meteor.loginWithPassword(this.email.value, this.password.value, error => {
9 | console.log(error);
10 | if (!error) {
11 | this.props.client.resetStore();
12 | }
13 | });
14 | };
15 |
16 | render() {
17 | return (
18 |
23 | );
24 | }
25 | }
26 |
--------------------------------------------------------------------------------
/end of #24/imports/ui/LoginForm.js:
--------------------------------------------------------------------------------
1 | import React, { Component } from "react";
2 | import { Accounts } from "meteor/accounts-base";
3 | import { withApollo } from "react-apollo";
4 |
5 | export default class LoginForm extends Component {
6 | login = e => {
7 | e.preventDefault();
8 | Meteor.loginWithPassword(this.email.value, this.password.value, error => {
9 | console.log(error);
10 | if (!error) {
11 | this.props.client.resetStore();
12 | }
13 | });
14 | };
15 |
16 | render() {
17 | return (
18 |
23 | );
24 | }
25 | }
26 |
--------------------------------------------------------------------------------
/end of #25/imports/ui/LoginForm.js:
--------------------------------------------------------------------------------
1 | import React, { Component } from "react";
2 | import { Accounts } from "meteor/accounts-base";
3 | import { withApollo } from "react-apollo";
4 |
5 | export default class LoginForm extends Component {
6 | login = e => {
7 | e.preventDefault();
8 | Meteor.loginWithPassword(this.email.value, this.password.value, error => {
9 | console.log(error);
10 | if (!error) {
11 | this.props.client.resetStore();
12 | }
13 | });
14 | };
15 |
16 | render() {
17 | return (
18 |
23 | );
24 | }
25 | }
26 |
--------------------------------------------------------------------------------
/end of #26/imports/ui/LoginForm.js:
--------------------------------------------------------------------------------
1 | import React, { Component } from "react";
2 | import { Accounts } from "meteor/accounts-base";
3 | import { withApollo } from "react-apollo";
4 |
5 | export default class LoginForm extends Component {
6 | login = e => {
7 | e.preventDefault();
8 | Meteor.loginWithPassword(this.email.value, this.password.value, error => {
9 | console.log(error);
10 | if (!error) {
11 | this.props.client.resetStore();
12 | }
13 | });
14 | };
15 |
16 | render() {
17 | return (
18 |
23 | );
24 | }
25 | }
26 |
--------------------------------------------------------------------------------
/end of #27/imports/ui/LoginForm.js:
--------------------------------------------------------------------------------
1 | import React, { Component } from "react";
2 | import { Accounts } from "meteor/accounts-base";
3 | import { withApollo } from "react-apollo";
4 |
5 | export default class LoginForm extends Component {
6 | login = e => {
7 | e.preventDefault();
8 | Meteor.loginWithPassword(this.email.value, this.password.value, error => {
9 | console.log(error);
10 | if (!error) {
11 | this.props.client.resetStore();
12 | }
13 | });
14 | };
15 |
16 | render() {
17 | return (
18 |
23 | );
24 | }
25 | }
26 |
--------------------------------------------------------------------------------
/end of #6/imports/startup/client/index.js:
--------------------------------------------------------------------------------
1 | import React from "react";
2 | import { Meteor } from "meteor/meteor";
3 | import { render } from "react-dom";
4 | import { ApolloProvider } from "react-apollo";
5 | import { ApolloClient } from "apollo-client";
6 | import { HttpLink } from "apollo-link-http";
7 | import { InMemoryCache } from "apollo-cache-inmemory";
8 |
9 | import App from "../../ui/App";
10 |
11 | const httpLink = new HttpLink({
12 | uri: Meteor.absoluteUrl("graphql")
13 | });
14 |
15 | const cache = new InMemoryCache();
16 |
17 | const client = new ApolloClient({
18 | link: httpLink,
19 | cache
20 | });
21 |
22 | const ApolloApp = () => (
23 |
24 |
25 |
26 | );
27 |
28 | Meteor.startup(() => {
29 | render(, document.getElementById("app"));
30 | });
31 |
--------------------------------------------------------------------------------
/end of #7/imports/startup/client/index.js:
--------------------------------------------------------------------------------
1 | import React from "react";
2 | import { Meteor } from "meteor/meteor";
3 | import { render } from "react-dom";
4 | import { ApolloProvider } from "react-apollo";
5 | import { ApolloClient } from "apollo-client";
6 | import { HttpLink } from "apollo-link-http";
7 | import { InMemoryCache } from "apollo-cache-inmemory";
8 |
9 | import App from "../../ui/App";
10 |
11 | const httpLink = new HttpLink({
12 | uri: Meteor.absoluteUrl("graphql")
13 | });
14 |
15 | const cache = new InMemoryCache();
16 |
17 | const client = new ApolloClient({
18 | link: httpLink,
19 | cache
20 | });
21 |
22 | const ApolloApp = () => (
23 |
24 |
25 |
26 | );
27 |
28 | Meteor.startup(() => {
29 | render(, document.getElementById("app"));
30 | });
31 |
--------------------------------------------------------------------------------
/end of #8/imports/startup/client/index.js:
--------------------------------------------------------------------------------
1 | import React from "react";
2 | import { Meteor } from "meteor/meteor";
3 | import { render } from "react-dom";
4 | import { ApolloProvider } from "react-apollo";
5 | import { ApolloClient } from "apollo-client";
6 | import { HttpLink } from "apollo-link-http";
7 | import { InMemoryCache } from "apollo-cache-inmemory";
8 |
9 | import App from "../../ui/App";
10 |
11 | const httpLink = new HttpLink({
12 | uri: Meteor.absoluteUrl("graphql")
13 | });
14 |
15 | const cache = new InMemoryCache();
16 |
17 | const client = new ApolloClient({
18 | link: httpLink,
19 | cache
20 | });
21 |
22 | const ApolloApp = () => (
23 |
24 |
25 |
26 | );
27 |
28 | Meteor.startup(() => {
29 | render(, document.getElementById("app"));
30 | });
31 |
--------------------------------------------------------------------------------
/end of #10/imports/startup/client/index.js:
--------------------------------------------------------------------------------
1 | import React from "react";
2 | import { Meteor } from "meteor/meteor";
3 | import { render } from "react-dom";
4 | import { ApolloProvider } from "react-apollo";
5 | import { ApolloClient } from "apollo-client";
6 | import { HttpLink } from "apollo-link-http";
7 | import { InMemoryCache } from "apollo-cache-inmemory";
8 |
9 | import App from "../../ui/App";
10 |
11 | const httpLink = new HttpLink({
12 | uri: Meteor.absoluteUrl("graphql")
13 | });
14 |
15 | const cache = new InMemoryCache();
16 |
17 | const client = new ApolloClient({
18 | link: httpLink,
19 | cache
20 | });
21 |
22 | const ApolloApp = () => (
23 |
24 |
25 |
26 | );
27 |
28 | Meteor.startup(() => {
29 | render(, document.getElementById("app"));
30 | });
31 |
--------------------------------------------------------------------------------
/end of #10/imports/startup/server/register-api.js:
--------------------------------------------------------------------------------
1 | import { createApolloServer } from "meteor/apollo";
2 | import { makeExecutableSchema } from "graphql-tools";
3 | import merge from "lodash/merge";
4 |
5 | import ResolutionsSchema from "../../api/resolutions/Resolutions.graphql";
6 | import ResolutionsResolvers from "../../api/resolutions/resolvers";
7 |
8 | const testSchema = `
9 | type Query {
10 | hi: String
11 | resolutions: [Resolution]
12 | }
13 | `;
14 |
15 | const typeDefs = [testSchema, ResolutionsSchema];
16 |
17 | const testResolvers = {
18 | Query: {
19 | hi() {
20 | return "Hello Level Up";
21 | }
22 | }
23 | };
24 |
25 | const resolvers = merge(testResolvers, ResolutionsResolvers);
26 |
27 | const schema = makeExecutableSchema({
28 | typeDefs,
29 | resolvers
30 | });
31 |
32 | createApolloServer({ schema });
33 |
--------------------------------------------------------------------------------
/end of #11/imports/startup/client/index.js:
--------------------------------------------------------------------------------
1 | import React from "react";
2 | import { Meteor } from "meteor/meteor";
3 | import { render } from "react-dom";
4 | import { ApolloProvider } from "react-apollo";
5 | import { ApolloClient } from "apollo-client";
6 | import { HttpLink } from "apollo-link-http";
7 | import { InMemoryCache } from "apollo-cache-inmemory";
8 |
9 | import App from "../../ui/App";
10 |
11 | const httpLink = new HttpLink({
12 | uri: Meteor.absoluteUrl("graphql")
13 | });
14 |
15 | const cache = new InMemoryCache();
16 |
17 | const client = new ApolloClient({
18 | link: httpLink,
19 | cache
20 | });
21 |
22 | const ApolloApp = () => (
23 |
24 |
25 |
26 | );
27 |
28 | Meteor.startup(() => {
29 | render(, document.getElementById("app"));
30 | });
31 |
--------------------------------------------------------------------------------
/end of #11/imports/startup/server/register-api.js:
--------------------------------------------------------------------------------
1 | import { createApolloServer } from "meteor/apollo";
2 | import { makeExecutableSchema } from "graphql-tools";
3 | import merge from "lodash/merge";
4 |
5 | import ResolutionsSchema from "../../api/resolutions/Resolutions.graphql";
6 | import ResolutionsResolvers from "../../api/resolutions/resolvers";
7 |
8 | const testSchema = `
9 | type Query {
10 | hi: String
11 | resolutions: [Resolution]
12 | }
13 | `;
14 |
15 | const typeDefs = [testSchema, ResolutionsSchema];
16 |
17 | const testResolvers = {
18 | Query: {
19 | hi() {
20 | return "Hello Level Up";
21 | }
22 | }
23 | };
24 |
25 | const resolvers = merge(testResolvers, ResolutionsResolvers);
26 |
27 | const schema = makeExecutableSchema({
28 | typeDefs,
29 | resolvers
30 | });
31 |
32 | createApolloServer({ schema });
33 |
--------------------------------------------------------------------------------
/end of #12/imports/startup/client/index.js:
--------------------------------------------------------------------------------
1 | import React from "react";
2 | import { Meteor } from "meteor/meteor";
3 | import { render } from "react-dom";
4 | import { ApolloProvider } from "react-apollo";
5 | import { ApolloClient } from "apollo-client";
6 | import { HttpLink } from "apollo-link-http";
7 | import { InMemoryCache } from "apollo-cache-inmemory";
8 |
9 | import App from "../../ui/App";
10 |
11 | const httpLink = new HttpLink({
12 | uri: Meteor.absoluteUrl("graphql")
13 | });
14 |
15 | const cache = new InMemoryCache();
16 |
17 | const client = new ApolloClient({
18 | link: httpLink,
19 | cache
20 | });
21 |
22 | const ApolloApp = () => (
23 |
24 |
25 |
26 | );
27 |
28 | Meteor.startup(() => {
29 | render(, document.getElementById("app"));
30 | });
31 |
--------------------------------------------------------------------------------
/end of #13/imports/startup/client/index.js:
--------------------------------------------------------------------------------
1 | import React from "react";
2 | import { Meteor } from "meteor/meteor";
3 | import { render } from "react-dom";
4 | import { ApolloProvider } from "react-apollo";
5 | import { ApolloClient } from "apollo-client";
6 | import { HttpLink } from "apollo-link-http";
7 | import { InMemoryCache } from "apollo-cache-inmemory";
8 |
9 | import App from "../../ui/App";
10 |
11 | const httpLink = new HttpLink({
12 | uri: Meteor.absoluteUrl("graphql")
13 | });
14 |
15 | const cache = new InMemoryCache();
16 |
17 | const client = new ApolloClient({
18 | link: httpLink,
19 | cache
20 | });
21 |
22 | const ApolloApp = () => (
23 |
24 |
25 |
26 | );
27 |
28 | Meteor.startup(() => {
29 | render(, document.getElementById("app"));
30 | });
31 |
--------------------------------------------------------------------------------
/end of #14/imports/startup/client/index.js:
--------------------------------------------------------------------------------
1 | import React from "react";
2 | import { Meteor } from "meteor/meteor";
3 | import { render } from "react-dom";
4 | import { ApolloProvider } from "react-apollo";
5 | import { ApolloClient } from "apollo-client";
6 | import { HttpLink } from "apollo-link-http";
7 | import { InMemoryCache } from "apollo-cache-inmemory";
8 |
9 | import App from "../../ui/App";
10 |
11 | const httpLink = new HttpLink({
12 | uri: Meteor.absoluteUrl("graphql")
13 | });
14 |
15 | const cache = new InMemoryCache();
16 |
17 | const client = new ApolloClient({
18 | link: httpLink,
19 | cache
20 | });
21 |
22 | const ApolloApp = () => (
23 |
24 |
25 |
26 | );
27 |
28 | Meteor.startup(() => {
29 | render(, document.getElementById("app"));
30 | });
31 |
--------------------------------------------------------------------------------
/end of #15/imports/startup/client/index.js:
--------------------------------------------------------------------------------
1 | import React from "react";
2 | import { Meteor } from "meteor/meteor";
3 | import { render } from "react-dom";
4 | import { ApolloProvider } from "react-apollo";
5 | import { ApolloClient } from "apollo-client";
6 | import { HttpLink } from "apollo-link-http";
7 | import { InMemoryCache } from "apollo-cache-inmemory";
8 |
9 | import App from "../../ui/App";
10 |
11 | const httpLink = new HttpLink({
12 | uri: Meteor.absoluteUrl("graphql")
13 | });
14 |
15 | const cache = new InMemoryCache();
16 |
17 | const client = new ApolloClient({
18 | link: httpLink,
19 | cache
20 | });
21 |
22 | const ApolloApp = () => (
23 |
24 |
25 |
26 | );
27 |
28 | Meteor.startup(() => {
29 | render(, document.getElementById("app"));
30 | });
31 |
--------------------------------------------------------------------------------
/end of #12/imports/startup/server/register-api.js:
--------------------------------------------------------------------------------
1 | import { createApolloServer } from "meteor/apollo";
2 | import { makeExecutableSchema } from "graphql-tools";
3 | import merge from "lodash/merge";
4 |
5 | import ResolutionsSchema from "../../api/resolutions/Resolutions.graphql";
6 | import ResolutionsResolvers from "../../api/resolutions/resolvers";
7 | // hi
8 |
9 | const testSchema = `
10 | type Query {
11 | hi: String
12 | resolutions: [Resolution]
13 | }
14 | `;
15 |
16 | const typeDefs = [testSchema, ResolutionsSchema];
17 |
18 | const testResolvers = {
19 | Query: {
20 | hi() {
21 | return "Hello Level Up";
22 | }
23 | }
24 | };
25 |
26 | const resolvers = merge(testResolvers, ResolutionsResolvers);
27 |
28 | const schema = makeExecutableSchema({
29 | typeDefs,
30 | resolvers
31 | });
32 |
33 | createApolloServer({ schema });
34 |
--------------------------------------------------------------------------------
/end of #13/imports/startup/server/register-api.js:
--------------------------------------------------------------------------------
1 | import { createApolloServer } from "meteor/apollo";
2 | import { makeExecutableSchema } from "graphql-tools";
3 | import merge from "lodash/merge";
4 |
5 | import ResolutionsSchema from "../../api/resolutions/Resolutions.graphql";
6 | import ResolutionsResolvers from "../../api/resolutions/resolvers";
7 |
8 | // h
9 |
10 | const testSchema = `
11 | type Query {
12 | hi: String
13 | resolutions: [Resolution]
14 | }
15 | `;
16 |
17 | const typeDefs = [testSchema, ResolutionsSchema];
18 |
19 | const testResolvers = {
20 | Query: {
21 | hi() {
22 | return "Hello Level Up";
23 | }
24 | }
25 | };
26 |
27 | const resolvers = merge(testResolvers, ResolutionsResolvers);
28 |
29 | const schema = makeExecutableSchema({
30 | typeDefs,
31 | resolvers
32 | });
33 |
34 | createApolloServer({ schema });
35 |
--------------------------------------------------------------------------------
/end of #14/imports/startup/server/register-api.js:
--------------------------------------------------------------------------------
1 | import { createApolloServer } from "meteor/apollo";
2 | import { makeExecutableSchema } from "graphql-tools";
3 | import merge from "lodash/merge";
4 |
5 | import ResolutionsSchema from "../../api/resolutions/Resolutions.graphql";
6 | import ResolutionsResolvers from "../../api/resolutions/resolvers";
7 |
8 | // h
9 |
10 | const testSchema = `
11 | type Query {
12 | hi: String
13 | resolutions: [Resolution]
14 | }
15 | `;
16 |
17 | const typeDefs = [testSchema, ResolutionsSchema];
18 |
19 | const testResolvers = {
20 | Query: {
21 | hi() {
22 | return "Hello Level Up";
23 | }
24 | }
25 | };
26 |
27 | const resolvers = merge(testResolvers, ResolutionsResolvers);
28 |
29 | const schema = makeExecutableSchema({
30 | typeDefs,
31 | resolvers
32 | });
33 |
34 | createApolloServer({ schema });
35 |
--------------------------------------------------------------------------------
/end of #15/imports/startup/server/register-api.js:
--------------------------------------------------------------------------------
1 | import { createApolloServer } from "meteor/apollo";
2 | import { makeExecutableSchema } from "graphql-tools";
3 | import merge from "lodash/merge";
4 |
5 | import ResolutionsSchema from "../../api/resolutions/Resolutions.graphql";
6 | import ResolutionsResolvers from "../../api/resolutions/resolvers";
7 |
8 | // h
9 |
10 | const testSchema = `
11 | type Query {
12 | hi: String
13 | resolutions: [Resolution]
14 | }
15 | `;
16 |
17 | const typeDefs = [testSchema, ResolutionsSchema];
18 |
19 | const testResolvers = {
20 | Query: {
21 | hi() {
22 | return "Hello Level Up";
23 | }
24 | }
25 | };
26 |
27 | const resolvers = merge(testResolvers, ResolutionsResolvers);
28 |
29 | const schema = makeExecutableSchema({
30 | typeDefs,
31 | resolvers
32 | });
33 |
34 | createApolloServer({ schema });
35 |
--------------------------------------------------------------------------------
/end of #16/imports/startup/server/register-api.js:
--------------------------------------------------------------------------------
1 | import { createApolloServer } from "meteor/apollo";
2 | import { makeExecutableSchema } from "graphql-tools";
3 | import merge from "lodash/merge";
4 |
5 | import ResolutionsSchema from "../../api/resolutions/Resolutions.graphql";
6 | import ResolutionsResolvers from "../../api/resolutions/resolvers";
7 |
8 | // h
9 |
10 | const testSchema = `
11 | type Query {
12 | hi: String
13 | resolutions: [Resolution]
14 | }
15 | `;
16 |
17 | const typeDefs = [testSchema, ResolutionsSchema];
18 |
19 | const testResolvers = {
20 | Query: {
21 | hi() {
22 | return "Hello Level Up";
23 | }
24 | }
25 | };
26 |
27 | const resolvers = merge(testResolvers, ResolutionsResolvers);
28 |
29 | const schema = makeExecutableSchema({
30 | typeDefs,
31 | resolvers
32 | });
33 |
34 | createApolloServer({ schema });
35 |
--------------------------------------------------------------------------------
/end of #17/imports/startup/server/register-api.js:
--------------------------------------------------------------------------------
1 | import { createApolloServer } from "meteor/apollo";
2 | import { makeExecutableSchema } from "graphql-tools";
3 | import merge from "lodash/merge";
4 |
5 | import ResolutionsSchema from "../../api/resolutions/Resolutions.graphql";
6 | import ResolutionsResolvers from "../../api/resolutions/resolvers";
7 |
8 | // h
9 |
10 | const testSchema = `
11 | type Query {
12 | hi: String
13 | resolutions: [Resolution]
14 | }
15 | `;
16 |
17 | const typeDefs = [testSchema, ResolutionsSchema];
18 |
19 | const testResolvers = {
20 | Query: {
21 | hi() {
22 | return "Hello Level Up";
23 | }
24 | }
25 | };
26 |
27 | const resolvers = merge(testResolvers, ResolutionsResolvers);
28 |
29 | const schema = makeExecutableSchema({
30 | typeDefs,
31 | resolvers
32 | });
33 |
34 | createApolloServer({ schema });
35 |
--------------------------------------------------------------------------------
/apollo/imports/ui/RegisterForm.js:
--------------------------------------------------------------------------------
1 | import React, { Component } from "react";
2 | import { Accounts } from "meteor/accounts-base";
3 |
4 | export default class RegisterForm extends Component {
5 | registerUser = e => {
6 | e.preventDefault();
7 | Accounts.createUser(
8 | {
9 | email: this.email.value,
10 | password: this.password.value
11 | },
12 | error => {
13 | if (!error) {
14 | this.props.client.resetStore();
15 | }
16 | console.log(error);
17 | }
18 | );
19 | };
20 |
21 | render() {
22 | return (
23 |
28 | );
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/apollo2/imports/ui/RegisterForm.js:
--------------------------------------------------------------------------------
1 | import React, { Component } from "react";
2 | import { Accounts } from "meteor/accounts-base";
3 |
4 | export default class RegisterForm extends Component {
5 | registerUser = e => {
6 | e.preventDefault();
7 | Accounts.createUser(
8 | {
9 | email: this.email.value,
10 | password: this.password.value
11 | },
12 | error => {
13 | if (!error) {
14 | this.props.client.resetStore();
15 | }
16 | console.log(error);
17 | }
18 | );
19 | };
20 |
21 | render() {
22 | return (
23 |
28 | );
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/end of #17/imports/ui/RegisterForm.js:
--------------------------------------------------------------------------------
1 | import React, { Component } from "react";
2 | import { Accounts } from "meteor/accounts-base";
3 |
4 | export default class RegisterForm extends Component {
5 | registerUser = e => {
6 | e.preventDefault();
7 | Accounts.createUser(
8 | {
9 | email: this.email.value,
10 | password: this.password.value
11 | },
12 | error => {
13 | if (!error) {
14 | this.props.client.resetStore();
15 | }
16 | console.log(error);
17 | }
18 | );
19 | };
20 |
21 | render() {
22 | return (
23 |
28 | );
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/end of #18/imports/ui/RegisterForm.js:
--------------------------------------------------------------------------------
1 | import React, { Component } from "react";
2 | import { Accounts } from "meteor/accounts-base";
3 |
4 | export default class RegisterForm extends Component {
5 | registerUser = e => {
6 | e.preventDefault();
7 | Accounts.createUser(
8 | {
9 | email: this.email.value,
10 | password: this.password.value
11 | },
12 | error => {
13 | if (!error) {
14 | this.props.client.resetStore();
15 | }
16 | console.log(error);
17 | }
18 | );
19 | };
20 |
21 | render() {
22 | return (
23 |
28 | );
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/end of #19/imports/ui/RegisterForm.js:
--------------------------------------------------------------------------------
1 | import React, { Component } from "react";
2 | import { Accounts } from "meteor/accounts-base";
3 |
4 | export default class RegisterForm extends Component {
5 | registerUser = e => {
6 | e.preventDefault();
7 | Accounts.createUser(
8 | {
9 | email: this.email.value,
10 | password: this.password.value
11 | },
12 | error => {
13 | if (!error) {
14 | this.props.client.resetStore();
15 | }
16 | console.log(error);
17 | }
18 | );
19 | };
20 |
21 | render() {
22 | return (
23 |
28 | );
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/end of #20/imports/ui/RegisterForm.js:
--------------------------------------------------------------------------------
1 | import React, { Component } from "react";
2 | import { Accounts } from "meteor/accounts-base";
3 |
4 | export default class RegisterForm extends Component {
5 | registerUser = e => {
6 | e.preventDefault();
7 | Accounts.createUser(
8 | {
9 | email: this.email.value,
10 | password: this.password.value
11 | },
12 | error => {
13 | if (!error) {
14 | this.props.client.resetStore();
15 | }
16 | console.log(error);
17 | }
18 | );
19 | };
20 |
21 | render() {
22 | return (
23 |
28 | );
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/end of #21/imports/ui/RegisterForm.js:
--------------------------------------------------------------------------------
1 | import React, { Component } from "react";
2 | import { Accounts } from "meteor/accounts-base";
3 |
4 | export default class RegisterForm extends Component {
5 | registerUser = e => {
6 | e.preventDefault();
7 | Accounts.createUser(
8 | {
9 | email: this.email.value,
10 | password: this.password.value
11 | },
12 | error => {
13 | if (!error) {
14 | this.props.client.resetStore();
15 | }
16 | console.log(error);
17 | }
18 | );
19 | };
20 |
21 | render() {
22 | return (
23 |
28 | );
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/end of #22/imports/ui/RegisterForm.js:
--------------------------------------------------------------------------------
1 | import React, { Component } from "react";
2 | import { Accounts } from "meteor/accounts-base";
3 |
4 | export default class RegisterForm extends Component {
5 | registerUser = e => {
6 | e.preventDefault();
7 | Accounts.createUser(
8 | {
9 | email: this.email.value,
10 | password: this.password.value
11 | },
12 | error => {
13 | if (!error) {
14 | this.props.client.resetStore();
15 | }
16 | console.log(error);
17 | }
18 | );
19 | };
20 |
21 | render() {
22 | return (
23 |
28 | );
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/end of #23/imports/ui/RegisterForm.js:
--------------------------------------------------------------------------------
1 | import React, { Component } from "react";
2 | import { Accounts } from "meteor/accounts-base";
3 |
4 | export default class RegisterForm extends Component {
5 | registerUser = e => {
6 | e.preventDefault();
7 | Accounts.createUser(
8 | {
9 | email: this.email.value,
10 | password: this.password.value
11 | },
12 | error => {
13 | if (!error) {
14 | this.props.client.resetStore();
15 | }
16 | console.log(error);
17 | }
18 | );
19 | };
20 |
21 | render() {
22 | return (
23 |
28 | );
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/end of #24/imports/ui/RegisterForm.js:
--------------------------------------------------------------------------------
1 | import React, { Component } from "react";
2 | import { Accounts } from "meteor/accounts-base";
3 |
4 | export default class RegisterForm extends Component {
5 | registerUser = e => {
6 | e.preventDefault();
7 | Accounts.createUser(
8 | {
9 | email: this.email.value,
10 | password: this.password.value
11 | },
12 | error => {
13 | if (!error) {
14 | this.props.client.resetStore();
15 | }
16 | console.log(error);
17 | }
18 | );
19 | };
20 |
21 | render() {
22 | return (
23 |
28 | );
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/end of #25/imports/ui/RegisterForm.js:
--------------------------------------------------------------------------------
1 | import React, { Component } from "react";
2 | import { Accounts } from "meteor/accounts-base";
3 |
4 | export default class RegisterForm extends Component {
5 | registerUser = e => {
6 | e.preventDefault();
7 | Accounts.createUser(
8 | {
9 | email: this.email.value,
10 | password: this.password.value
11 | },
12 | error => {
13 | if (!error) {
14 | this.props.client.resetStore();
15 | }
16 | console.log(error);
17 | }
18 | );
19 | };
20 |
21 | render() {
22 | return (
23 |
28 | );
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/end of #26/imports/ui/RegisterForm.js:
--------------------------------------------------------------------------------
1 | import React, { Component } from "react";
2 | import { Accounts } from "meteor/accounts-base";
3 |
4 | export default class RegisterForm extends Component {
5 | registerUser = e => {
6 | e.preventDefault();
7 | Accounts.createUser(
8 | {
9 | email: this.email.value,
10 | password: this.password.value
11 | },
12 | error => {
13 | if (!error) {
14 | this.props.client.resetStore();
15 | }
16 | console.log(error);
17 | }
18 | );
19 | };
20 |
21 | render() {
22 | return (
23 |
28 | );
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/end of #27/imports/ui/RegisterForm.js:
--------------------------------------------------------------------------------
1 | import React, { Component } from "react";
2 | import { Accounts } from "meteor/accounts-base";
3 |
4 | export default class RegisterForm extends Component {
5 | registerUser = e => {
6 | e.preventDefault();
7 | Accounts.createUser(
8 | {
9 | email: this.email.value,
10 | password: this.password.value
11 | },
12 | error => {
13 | if (!error) {
14 | this.props.client.resetStore();
15 | }
16 | console.log(error);
17 | }
18 | );
19 | };
20 |
21 | render() {
22 | return (
23 |
28 | );
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/end of #21/imports/startup/server/register-api.js:
--------------------------------------------------------------------------------
1 | import { createApolloServer } from "meteor/apollo";
2 | import { makeExecutableSchema } from "graphql-tools";
3 | import merge from "lodash/merge";
4 |
5 | import GoalsSchema from "../../api/goals/Goal.graphql";
6 | import GoalsResolvers from "../../api/goals/resolvers";
7 | import ResolutionsSchema from "../../api/resolutions/Resolutions.graphql";
8 | import ResolutionsResolvers from "../../api/resolutions/resolvers";
9 | import UsersSchema from "../../api/users/User.graphql";
10 | import UsersResolvers from "../../api/users/resolvers";
11 |
12 | // hkssslll
13 |
14 | const typeDefs = [GoalsSchema, ResolutionsSchema, UsersSchema];
15 |
16 | const resolvers = merge(GoalsResolvers, ResolutionsResolvers, UsersResolvers);
17 |
18 | const schema = makeExecutableSchema({
19 | typeDefs,
20 | resolvers
21 | });
22 |
23 | createApolloServer({ schema });
24 |
--------------------------------------------------------------------------------
/end of #24/imports/startup/server/register-api.js:
--------------------------------------------------------------------------------
1 | import { createApolloServer } from "meteor/apollo";
2 | import { makeExecutableSchema } from "graphql-tools";
3 | import merge from "lodash/merge";
4 |
5 | import GoalsSchema from "../../api/goals/Goal.graphql";
6 | import GoalsResolvers from "../../api/goals/resolvers";
7 | import ResolutionsSchema from "../../api/resolutions/Resolutions.graphql";
8 | import ResolutionsResolvers from "../../api/resolutions/resolvers";
9 | import UsersSchema from "../../api/users/User.graphql";
10 | import UsersResolvers from "../../api/users/resolvers";
11 |
12 | // sdfasdf
13 |
14 | const typeDefs = [GoalsSchema, ResolutionsSchema, UsersSchema];
15 |
16 | const resolvers = merge(GoalsResolvers, ResolutionsResolvers, UsersResolvers);
17 |
18 | const schema = makeExecutableSchema({
19 | typeDefs,
20 | resolvers
21 | });
22 |
23 | createApolloServer({ schema });
24 |
--------------------------------------------------------------------------------
/apollo/imports/startup/server/register-api.js:
--------------------------------------------------------------------------------
1 | import { createApolloServer } from "meteor/apollo";
2 | import { makeExecutableSchema } from "graphql-tools";
3 | import merge from "lodash/merge";
4 |
5 | import GoalsSchema from "../../api/goals/Goal.graphql";
6 | import GoalsResolvers from "../../api/goals/resolvers";
7 | import ResolutionsSchema from "../../api/resolutions/Resolutions.graphql";
8 | import ResolutionsResolvers from "../../api/resolutions/resolvers";
9 | import UsersSchema from "../../api/users/User.graphql";
10 | import UsersResolvers from "../../api/users/resolvers";
11 |
12 | // sdfasdfasdfasdfasdf
13 |
14 | const typeDefs = [GoalsSchema, ResolutionsSchema, UsersSchema];
15 |
16 | const resolvers = merge(GoalsResolvers, ResolutionsResolvers, UsersResolvers);
17 |
18 | const schema = makeExecutableSchema({
19 | typeDefs,
20 | resolvers
21 | });
22 |
23 | createApolloServer({ schema });
24 |
--------------------------------------------------------------------------------
/apollo2/imports/startup/server/register-api.js:
--------------------------------------------------------------------------------
1 | import { createApolloServer } from "meteor/apollo";
2 | import { makeExecutableSchema } from "graphql-tools";
3 | import merge from "lodash/merge";
4 |
5 | import GoalsSchema from "../../api/goals/Goal.graphql";
6 | import GoalsResolvers from "../../api/goals/resolvers";
7 | import ResolutionsSchema from "../../api/resolutions/Resolutions.graphql";
8 | import ResolutionsResolvers from "../../api/resolutions/resolvers";
9 | import UsersSchema from "../../api/users/User.graphql";
10 | import UsersResolvers from "../../api/users/resolvers";
11 |
12 | // hkssslllasasdfasd
13 |
14 | const typeDefs = [GoalsSchema, ResolutionsSchema, UsersSchema];
15 |
16 | const resolvers = merge(GoalsResolvers, ResolutionsResolvers, UsersResolvers);
17 |
18 | const schema = makeExecutableSchema({
19 | typeDefs,
20 | resolvers
21 | });
22 |
23 | createApolloServer({ schema });
24 |
--------------------------------------------------------------------------------
/end of #15/imports/ui/App.js:
--------------------------------------------------------------------------------
1 | import React from "react";
2 | import gql from "graphql-tag";
3 | import { graphql } from "react-apollo";
4 | import ResolutionForm from "./ResolutionForm";
5 | import RegisterForm from "./RegisterForm";
6 | import LoginForm from "./LoginForm";
7 |
8 | const App = ({ loading, resolutions }) => {
9 | if (loading) return null;
10 | return (
11 |
12 |
13 |
14 |
15 |
16 | {resolutions.map(resolution => (
17 | - {resolution.name}
18 | ))}
19 |
20 |
21 | );
22 | };
23 |
24 | const resolutionsQuery = gql`
25 | query Resolutions {
26 | resolutions {
27 | _id
28 | name
29 | }
30 | }
31 | `;
32 |
33 | export default graphql(resolutionsQuery, {
34 | props: ({ data }) => ({ ...data })
35 | })(App);
36 |
--------------------------------------------------------------------------------
/end of #22/imports/startup/server/register-api.js:
--------------------------------------------------------------------------------
1 | import { createApolloServer } from "meteor/apollo";
2 | import { makeExecutableSchema } from "graphql-tools";
3 | import merge from "lodash/merge";
4 |
5 | import GoalsSchema from "../../api/goals/Goal.graphql";
6 | import GoalsResolvers from "../../api/goals/resolvers";
7 | import ResolutionsSchema from "../../api/resolutions/Resolutions.graphql";
8 | import ResolutionsResolvers from "../../api/resolutions/resolvers";
9 | import UsersSchema from "../../api/users/User.graphql";
10 | import UsersResolvers from "../../api/users/resolvers";
11 |
12 | // hkssslllasasdfasd
13 |
14 | const typeDefs = [GoalsSchema, ResolutionsSchema, UsersSchema];
15 |
16 | const resolvers = merge(GoalsResolvers, ResolutionsResolvers, UsersResolvers);
17 |
18 | const schema = makeExecutableSchema({
19 | typeDefs,
20 | resolvers
21 | });
22 |
23 | createApolloServer({ schema });
24 |
--------------------------------------------------------------------------------
/end of #23/imports/startup/server/register-api.js:
--------------------------------------------------------------------------------
1 | import { createApolloServer } from "meteor/apollo";
2 | import { makeExecutableSchema } from "graphql-tools";
3 | import merge from "lodash/merge";
4 |
5 | import GoalsSchema from "../../api/goals/Goal.graphql";
6 | import GoalsResolvers from "../../api/goals/resolvers";
7 | import ResolutionsSchema from "../../api/resolutions/Resolutions.graphql";
8 | import ResolutionsResolvers from "../../api/resolutions/resolvers";
9 | import UsersSchema from "../../api/users/User.graphql";
10 | import UsersResolvers from "../../api/users/resolvers";
11 |
12 | // hkssslllasasdfasd
13 |
14 | const typeDefs = [GoalsSchema, ResolutionsSchema, UsersSchema];
15 |
16 | const resolvers = merge(GoalsResolvers, ResolutionsResolvers, UsersResolvers);
17 |
18 | const schema = makeExecutableSchema({
19 | typeDefs,
20 | resolvers
21 | });
22 |
23 | createApolloServer({ schema });
24 |
--------------------------------------------------------------------------------
/end of #25/imports/startup/server/register-api.js:
--------------------------------------------------------------------------------
1 | import { createApolloServer } from "meteor/apollo";
2 | import { makeExecutableSchema } from "graphql-tools";
3 | import merge from "lodash/merge";
4 |
5 | import GoalsSchema from "../../api/goals/Goal.graphql";
6 | import GoalsResolvers from "../../api/goals/resolvers";
7 | import ResolutionsSchema from "../../api/resolutions/Resolutions.graphql";
8 | import ResolutionsResolvers from "../../api/resolutions/resolvers";
9 | import UsersSchema from "../../api/users/User.graphql";
10 | import UsersResolvers from "../../api/users/resolvers";
11 |
12 | // sdfasdfasdfasdfasdf
13 |
14 | const typeDefs = [GoalsSchema, ResolutionsSchema, UsersSchema];
15 |
16 | const resolvers = merge(GoalsResolvers, ResolutionsResolvers, UsersResolvers);
17 |
18 | const schema = makeExecutableSchema({
19 | typeDefs,
20 | resolvers
21 | });
22 |
23 | createApolloServer({ schema });
24 |
--------------------------------------------------------------------------------