├── .gitignore
├── FINAL CODE
├── .gitignore
├── .meteor
│ ├── .gitignore
│ ├── release
│ ├── platforms
│ ├── .id
│ ├── .finished-upgraders
│ ├── packages
│ └── versions
├── client
│ ├── main.html
│ ├── main.js
│ └── main.css
├── server
│ └── main.js
├── package.json
└── imports
│ ├── client
│ ├── Item.js
│ └── App.js
│ └── api
│ └── Items.js
├── votingAppReact end of #2
├── .gitignore
├── .meteor
│ ├── .gitignore
│ ├── release
│ ├── platforms
│ ├── .id
│ ├── .finished-upgraders
│ ├── packages
│ └── versions
├── client
│ └── main.css
├── server
│ └── main.js
└── package.json
├── votingAppReact end of #4
├── .gitignore
├── .meteor
│ ├── .gitignore
│ ├── release
│ ├── platforms
│ ├── .id
│ ├── .finished-upgraders
│ ├── packages
│ └── versions
├── client
│ ├── main.css
│ ├── main.html
│ └── main.js
├── server
│ └── main.js
├── package.json
└── imports
│ └── client
│ └── App.js
├── votingAppReact end of #7
├── .gitignore
├── .meteor
│ ├── .gitignore
│ ├── release
│ ├── platforms
│ ├── .id
│ ├── .finished-upgraders
│ ├── packages
│ └── versions
├── client
│ ├── main.css
│ ├── main.html
│ └── main.js
├── imports
│ ├── api
│ │ └── Items.js
│ └── client
│ │ └── App.js
├── package.json
└── server
│ └── main.js
├── votingAppReact end of #8
├── .gitignore
├── .meteor
│ ├── .gitignore
│ ├── release
│ ├── platforms
│ ├── .id
│ ├── .finished-upgraders
│ ├── packages
│ └── versions
├── client
│ ├── main.css
│ ├── main.html
│ └── main.js
├── imports
│ ├── api
│ │ └── Items.js
│ └── client
│ │ ├── Item.js
│ │ └── App.js
├── package.json
└── server
│ └── main.js
├── votingAppReact end of #9
├── .gitignore
├── .meteor
│ ├── .gitignore
│ ├── release
│ ├── platforms
│ ├── .id
│ ├── .finished-upgraders
│ ├── packages
│ └── versions
├── client
│ ├── main.css
│ ├── main.html
│ └── main.js
├── imports
│ ├── api
│ │ └── Items.js
│ └── client
│ │ ├── Item.js
│ │ └── App.js
├── server
│ └── main.js
└── package.json
├── votingAppReact end of $5
├── .gitignore
├── .meteor
│ ├── .gitignore
│ ├── release
│ ├── platforms
│ ├── .id
│ ├── .finished-upgraders
│ ├── packages
│ └── versions
├── client
│ ├── main.css
│ ├── main.html
│ └── main.js
├── server
│ └── main.js
├── package.json
└── imports
│ └── client
│ └── App.js
├── votingAppReact end of #10
├── .gitignore
├── .meteor
│ ├── .gitignore
│ ├── release
│ ├── platforms
│ ├── .id
│ ├── .finished-upgraders
│ ├── packages
│ └── versions
├── client
│ ├── main.html
│ ├── main.js
│ └── main.css
├── imports
│ ├── api
│ │ └── Items.js
│ └── client
│ │ ├── Item.js
│ │ └── App.js
├── server
│ └── main.js
└── package.json
├── votingAppReact end of #11
├── .gitignore
├── .meteor
│ ├── .gitignore
│ ├── release
│ ├── platforms
│ ├── .id
│ ├── .finished-upgraders
│ ├── packages
│ └── versions
├── client
│ ├── main.html
│ ├── main.js
│ └── main.css
├── imports
│ ├── api
│ │ └── Items.js
│ └── client
│ │ ├── Item.js
│ │ └── App.js
├── server
│ └── main.js
└── package.json
├── votingAppReact end of #12
├── .gitignore
├── .meteor
│ ├── .gitignore
│ ├── release
│ ├── platforms
│ ├── .id
│ ├── .finished-upgraders
│ ├── packages
│ └── versions
├── client
│ ├── main.html
│ ├── main.js
│ └── main.css
├── server
│ └── main.js
├── package.json
└── imports
│ ├── client
│ ├── Item.js
│ └── App.js
│ └── api
│ └── Items.js
├── votingAppReact end of #13
├── .gitignore
├── .meteor
│ ├── .gitignore
│ ├── release
│ ├── platforms
│ ├── .id
│ ├── .finished-upgraders
│ ├── packages
│ └── versions
├── client
│ ├── main.html
│ ├── main.js
│ └── main.css
├── server
│ └── main.js
├── package.json
└── imports
│ ├── client
│ ├── Item.js
│ └── App.js
│ └── api
│ └── Items.js
├── votingAppReact end of #14
├── .gitignore
├── .meteor
│ ├── .gitignore
│ ├── release
│ ├── platforms
│ ├── .id
│ ├── .finished-upgraders
│ ├── packages
│ └── versions
├── client
│ ├── main.html
│ ├── main.js
│ └── main.css
├── server
│ └── main.js
├── package.json
└── imports
│ ├── client
│ ├── Item.js
│ └── App.js
│ └── api
│ └── Items.js
└── STYLES TO IMPORT.css
/.gitignore:
--------------------------------------------------------------------------------
1 | .DS_Store
2 |
--------------------------------------------------------------------------------
/FINAL CODE/.gitignore:
--------------------------------------------------------------------------------
1 | node_modules/
--------------------------------------------------------------------------------
/FINAL CODE/.meteor/.gitignore:
--------------------------------------------------------------------------------
1 | local
2 |
--------------------------------------------------------------------------------
/FINAL CODE/.meteor/release:
--------------------------------------------------------------------------------
1 | METEOR@1.4.2
2 |
--------------------------------------------------------------------------------
/votingAppReact end of #2/.gitignore:
--------------------------------------------------------------------------------
1 | node_modules/
--------------------------------------------------------------------------------
/votingAppReact end of #4/.gitignore:
--------------------------------------------------------------------------------
1 | node_modules/
--------------------------------------------------------------------------------
/votingAppReact end of #7/.gitignore:
--------------------------------------------------------------------------------
1 | node_modules/
--------------------------------------------------------------------------------
/votingAppReact end of #8/.gitignore:
--------------------------------------------------------------------------------
1 | node_modules/
--------------------------------------------------------------------------------
/votingAppReact end of #9/.gitignore:
--------------------------------------------------------------------------------
1 | node_modules/
--------------------------------------------------------------------------------
/votingAppReact end of $5/.gitignore:
--------------------------------------------------------------------------------
1 | node_modules/
--------------------------------------------------------------------------------
/FINAL CODE/.meteor/platforms:
--------------------------------------------------------------------------------
1 | server
2 | browser
3 |
--------------------------------------------------------------------------------
/votingAppReact end of #10/.gitignore:
--------------------------------------------------------------------------------
1 | node_modules/
--------------------------------------------------------------------------------
/votingAppReact end of #11/.gitignore:
--------------------------------------------------------------------------------
1 | node_modules/
--------------------------------------------------------------------------------
/votingAppReact end of #12/.gitignore:
--------------------------------------------------------------------------------
1 | node_modules/
--------------------------------------------------------------------------------
/votingAppReact end of #13/.gitignore:
--------------------------------------------------------------------------------
1 | node_modules/
--------------------------------------------------------------------------------
/votingAppReact end of #14/.gitignore:
--------------------------------------------------------------------------------
1 | node_modules/
--------------------------------------------------------------------------------
/votingAppReact end of #2/.meteor/.gitignore:
--------------------------------------------------------------------------------
1 | local
2 |
--------------------------------------------------------------------------------
/votingAppReact end of #4/.meteor/.gitignore:
--------------------------------------------------------------------------------
1 | local
2 |
--------------------------------------------------------------------------------
/votingAppReact end of #7/.meteor/.gitignore:
--------------------------------------------------------------------------------
1 | local
2 |
--------------------------------------------------------------------------------
/votingAppReact end of #8/.meteor/.gitignore:
--------------------------------------------------------------------------------
1 | local
2 |
--------------------------------------------------------------------------------
/votingAppReact end of #9/.meteor/.gitignore:
--------------------------------------------------------------------------------
1 | local
2 |
--------------------------------------------------------------------------------
/votingAppReact end of $5/.meteor/.gitignore:
--------------------------------------------------------------------------------
1 | local
2 |
--------------------------------------------------------------------------------
/votingAppReact end of #10/.meteor/.gitignore:
--------------------------------------------------------------------------------
1 | local
2 |
--------------------------------------------------------------------------------
/votingAppReact end of #10/.meteor/release:
--------------------------------------------------------------------------------
1 | METEOR@1.4.2
2 |
--------------------------------------------------------------------------------
/votingAppReact end of #11/.meteor/.gitignore:
--------------------------------------------------------------------------------
1 | local
2 |
--------------------------------------------------------------------------------
/votingAppReact end of #11/.meteor/release:
--------------------------------------------------------------------------------
1 | METEOR@1.4.2
2 |
--------------------------------------------------------------------------------
/votingAppReact end of #12/.meteor/.gitignore:
--------------------------------------------------------------------------------
1 | local
2 |
--------------------------------------------------------------------------------
/votingAppReact end of #12/.meteor/release:
--------------------------------------------------------------------------------
1 | METEOR@1.4.2
2 |
--------------------------------------------------------------------------------
/votingAppReact end of #13/.meteor/.gitignore:
--------------------------------------------------------------------------------
1 | local
2 |
--------------------------------------------------------------------------------
/votingAppReact end of #13/.meteor/release:
--------------------------------------------------------------------------------
1 | METEOR@1.4.2
2 |
--------------------------------------------------------------------------------
/votingAppReact end of #14/.meteor/.gitignore:
--------------------------------------------------------------------------------
1 | local
2 |
--------------------------------------------------------------------------------
/votingAppReact end of #14/.meteor/release:
--------------------------------------------------------------------------------
1 | METEOR@1.4.2
2 |
--------------------------------------------------------------------------------
/votingAppReact end of #7/.meteor/release:
--------------------------------------------------------------------------------
1 | METEOR@1.4.2
2 |
--------------------------------------------------------------------------------
/votingAppReact end of #8/.meteor/release:
--------------------------------------------------------------------------------
1 | METEOR@1.4.2
2 |
--------------------------------------------------------------------------------
/votingAppReact end of #9/.meteor/release:
--------------------------------------------------------------------------------
1 | METEOR@1.4.2
2 |
--------------------------------------------------------------------------------
/votingAppReact end of #2/.meteor/release:
--------------------------------------------------------------------------------
1 | METEOR@1.4.1.1
2 |
--------------------------------------------------------------------------------
/votingAppReact end of #4/.meteor/release:
--------------------------------------------------------------------------------
1 | METEOR@1.4.1.1
2 |
--------------------------------------------------------------------------------
/votingAppReact end of $5/.meteor/release:
--------------------------------------------------------------------------------
1 | METEOR@1.4.1.1
2 |
--------------------------------------------------------------------------------
/votingAppReact end of #10/.meteor/platforms:
--------------------------------------------------------------------------------
1 | server
2 | browser
3 |
--------------------------------------------------------------------------------
/votingAppReact end of #11/.meteor/platforms:
--------------------------------------------------------------------------------
1 | server
2 | browser
3 |
--------------------------------------------------------------------------------
/votingAppReact end of #12/.meteor/platforms:
--------------------------------------------------------------------------------
1 | server
2 | browser
3 |
--------------------------------------------------------------------------------
/votingAppReact end of #13/.meteor/platforms:
--------------------------------------------------------------------------------
1 | server
2 | browser
3 |
--------------------------------------------------------------------------------
/votingAppReact end of #14/.meteor/platforms:
--------------------------------------------------------------------------------
1 | server
2 | browser
3 |
--------------------------------------------------------------------------------
/votingAppReact end of #2/.meteor/platforms:
--------------------------------------------------------------------------------
1 | server
2 | browser
3 |
--------------------------------------------------------------------------------
/votingAppReact end of #4/.meteor/platforms:
--------------------------------------------------------------------------------
1 | server
2 | browser
3 |
--------------------------------------------------------------------------------
/votingAppReact end of #7/.meteor/platforms:
--------------------------------------------------------------------------------
1 | server
2 | browser
3 |
--------------------------------------------------------------------------------
/votingAppReact end of #8/.meteor/platforms:
--------------------------------------------------------------------------------
1 | server
2 | browser
3 |
--------------------------------------------------------------------------------
/votingAppReact end of #9/.meteor/platforms:
--------------------------------------------------------------------------------
1 | server
2 | browser
3 |
--------------------------------------------------------------------------------
/votingAppReact end of $5/.meteor/platforms:
--------------------------------------------------------------------------------
1 | server
2 | browser
3 |
--------------------------------------------------------------------------------
/votingAppReact end of #2/client/main.css:
--------------------------------------------------------------------------------
1 | /* CSS declarations go here */
2 |
--------------------------------------------------------------------------------
/votingAppReact end of #4/client/main.css:
--------------------------------------------------------------------------------
1 | /* CSS declarations go here */
2 |
--------------------------------------------------------------------------------
/votingAppReact end of #7/client/main.css:
--------------------------------------------------------------------------------
1 | /* CSS declarations go here */
2 |
--------------------------------------------------------------------------------
/votingAppReact end of #8/client/main.css:
--------------------------------------------------------------------------------
1 | /* CSS declarations go here */
2 |
--------------------------------------------------------------------------------
/votingAppReact end of #9/client/main.css:
--------------------------------------------------------------------------------
1 | /* CSS declarations go here */
2 |
--------------------------------------------------------------------------------
/votingAppReact end of $5/client/main.css:
--------------------------------------------------------------------------------
1 | /* CSS declarations go here */
2 |
--------------------------------------------------------------------------------
/FINAL CODE/client/main.html:
--------------------------------------------------------------------------------
1 |
2 | React Meteor Voting
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/votingAppReact end of #10/client/main.html:
--------------------------------------------------------------------------------
1 |
2 | React Meteor Voting
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/votingAppReact end of #11/client/main.html:
--------------------------------------------------------------------------------
1 |
2 | React Meteor Voting
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/votingAppReact end of #12/client/main.html:
--------------------------------------------------------------------------------
1 |
2 | React Meteor Voting
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/votingAppReact end of #13/client/main.html:
--------------------------------------------------------------------------------
1 |
2 | React Meteor Voting
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/votingAppReact end of #14/client/main.html:
--------------------------------------------------------------------------------
1 |
2 | React Meteor Voting
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/votingAppReact end of #2/server/main.js:
--------------------------------------------------------------------------------
1 | import { Meteor } from 'meteor/meteor';
2 |
3 | Meteor.startup(() => {
4 | // code to run on server at startup
5 | });
6 |
--------------------------------------------------------------------------------
/votingAppReact end of #4/client/main.html:
--------------------------------------------------------------------------------
1 |
2 | React Meteor Voting
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/votingAppReact end of #4/server/main.js:
--------------------------------------------------------------------------------
1 | import { Meteor } from 'meteor/meteor';
2 |
3 | Meteor.startup(() => {
4 | // code to run on server at startup
5 | });
6 |
--------------------------------------------------------------------------------
/votingAppReact end of #7/client/main.html:
--------------------------------------------------------------------------------
1 |
2 | React Meteor Voting
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/votingAppReact end of #8/client/main.html:
--------------------------------------------------------------------------------
1 |
2 | React Meteor Voting
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/votingAppReact end of #9/client/main.html:
--------------------------------------------------------------------------------
1 |
2 | React Meteor Voting
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/votingAppReact end of $5/client/main.html:
--------------------------------------------------------------------------------
1 |
2 | React Meteor Voting
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/votingAppReact end of $5/server/main.js:
--------------------------------------------------------------------------------
1 | import { Meteor } from 'meteor/meteor';
2 |
3 | Meteor.startup(() => {
4 | // code to run on server at startup
5 | });
6 |
--------------------------------------------------------------------------------
/votingAppReact end of #10/imports/api/Items.js:
--------------------------------------------------------------------------------
1 | import { Mongo } from 'meteor/mongo';
2 |
3 | const Items = new Mongo.Collection('items');
4 |
5 | export default Items;
6 |
--------------------------------------------------------------------------------
/votingAppReact end of #11/imports/api/Items.js:
--------------------------------------------------------------------------------
1 | import { Mongo } from 'meteor/mongo';
2 |
3 | const Items = new Mongo.Collection('items');
4 |
5 | export default Items;
6 |
--------------------------------------------------------------------------------
/votingAppReact end of #7/imports/api/Items.js:
--------------------------------------------------------------------------------
1 | import { Mongo } from 'meteor/mongo';
2 |
3 | const Items = new Mongo.Collection('items');
4 |
5 | export default Items;
6 |
--------------------------------------------------------------------------------
/votingAppReact end of #8/imports/api/Items.js:
--------------------------------------------------------------------------------
1 | import { Mongo } from 'meteor/mongo';
2 |
3 | const Items = new Mongo.Collection('items');
4 |
5 | export default Items;
6 |
--------------------------------------------------------------------------------
/votingAppReact end of #9/imports/api/Items.js:
--------------------------------------------------------------------------------
1 | import { Mongo } from 'meteor/mongo';
2 |
3 | const Items = new Mongo.Collection('items');
4 |
5 | export default Items;
6 |
--------------------------------------------------------------------------------
/FINAL CODE/server/main.js:
--------------------------------------------------------------------------------
1 | import { Meteor } from 'meteor/meteor';
2 |
3 | import Items from '../imports/api/Items';
4 |
5 |
6 | Meteor.startup(() => {
7 | // code to run on server at startup
8 | });
9 |
--------------------------------------------------------------------------------
/votingAppReact end of #10/server/main.js:
--------------------------------------------------------------------------------
1 | import { Meteor } from 'meteor/meteor';
2 |
3 | import Items from '../imports/api/Items';
4 |
5 |
6 | Meteor.startup(() => {
7 | // code to run on server at startup
8 | });
9 |
--------------------------------------------------------------------------------
/votingAppReact end of #11/server/main.js:
--------------------------------------------------------------------------------
1 | import { Meteor } from 'meteor/meteor';
2 |
3 | import Items from '../imports/api/Items';
4 |
5 |
6 | Meteor.startup(() => {
7 | // code to run on server at startup
8 | });
9 |
--------------------------------------------------------------------------------
/votingAppReact end of #12/server/main.js:
--------------------------------------------------------------------------------
1 | import { Meteor } from 'meteor/meteor';
2 |
3 | import Items from '../imports/api/Items';
4 |
5 |
6 | Meteor.startup(() => {
7 | // code to run on server at startup
8 | });
9 |
--------------------------------------------------------------------------------
/votingAppReact end of #13/server/main.js:
--------------------------------------------------------------------------------
1 | import { Meteor } from 'meteor/meteor';
2 |
3 | import Items from '../imports/api/Items';
4 |
5 |
6 | Meteor.startup(() => {
7 | // code to run on server at startup
8 | });
9 |
--------------------------------------------------------------------------------
/votingAppReact end of #14/server/main.js:
--------------------------------------------------------------------------------
1 | import { Meteor } from 'meteor/meteor';
2 |
3 | import Items from '../imports/api/Items';
4 |
5 |
6 | Meteor.startup(() => {
7 | // code to run on server at startup
8 | });
9 |
--------------------------------------------------------------------------------
/votingAppReact end of #9/server/main.js:
--------------------------------------------------------------------------------
1 | import { Meteor } from 'meteor/meteor';
2 |
3 | import Items from '../imports/api/Items';
4 |
5 |
6 | Meteor.startup(() => {
7 | // code to run on server at startup
8 | });
9 |
--------------------------------------------------------------------------------
/votingAppReact end of #2/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "votingAppReact",
3 | "private": true,
4 | "scripts": {
5 | "start": "meteor run"
6 | },
7 | "dependencies": {
8 | "meteor-node-stubs": "~0.2.0"
9 | }
10 | }
11 |
--------------------------------------------------------------------------------
/votingAppReact end of #4/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "votingAppReact",
3 | "private": true,
4 | "scripts": {
5 | "start": "meteor run"
6 | },
7 | "dependencies": {
8 | "meteor-node-stubs": "~0.2.0",
9 | "react": "^15.3.2",
10 | "react-dom": "^15.3.2"
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/votingAppReact end of $5/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "votingAppReact",
3 | "private": true,
4 | "scripts": {
5 | "start": "meteor run"
6 | },
7 | "dependencies": {
8 | "meteor-node-stubs": "~0.2.0",
9 | "react": "^15.3.2",
10 | "react-dom": "^15.3.2"
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/FINAL CODE/client/main.js:
--------------------------------------------------------------------------------
1 | import React, { Component } from 'react';
2 | import { Meteor } from 'meteor/meteor';
3 | import { render } from 'react-dom';
4 |
5 | import App from '../imports/client/App';
6 |
7 | Meteor.startup(() => {
8 | render(, document.getElementById('render-target'));
9 | });
10 |
--------------------------------------------------------------------------------
/votingAppReact end of #10/client/main.js:
--------------------------------------------------------------------------------
1 | import React, { Component } from 'react';
2 | import { Meteor } from 'meteor/meteor';
3 | import { render } from 'react-dom';
4 |
5 | import App from '../imports/client/App';
6 |
7 | Meteor.startup(() => {
8 | render(, document.getElementById('render-target'));
9 | });
10 |
--------------------------------------------------------------------------------
/votingAppReact end of #11/client/main.js:
--------------------------------------------------------------------------------
1 | import React, { Component } from 'react';
2 | import { Meteor } from 'meteor/meteor';
3 | import { render } from 'react-dom';
4 |
5 | import App from '../imports/client/App';
6 |
7 | Meteor.startup(() => {
8 | render(, document.getElementById('render-target'));
9 | });
10 |
--------------------------------------------------------------------------------
/votingAppReact end of #12/client/main.js:
--------------------------------------------------------------------------------
1 | import React, { Component } from 'react';
2 | import { Meteor } from 'meteor/meteor';
3 | import { render } from 'react-dom';
4 |
5 | import App from '../imports/client/App';
6 |
7 | Meteor.startup(() => {
8 | render(, document.getElementById('render-target'));
9 | });
10 |
--------------------------------------------------------------------------------
/votingAppReact end of #13/client/main.js:
--------------------------------------------------------------------------------
1 | import React, { Component } from 'react';
2 | import { Meteor } from 'meteor/meteor';
3 | import { render } from 'react-dom';
4 |
5 | import App from '../imports/client/App';
6 |
7 | Meteor.startup(() => {
8 | render(, document.getElementById('render-target'));
9 | });
10 |
--------------------------------------------------------------------------------
/votingAppReact end of #14/client/main.js:
--------------------------------------------------------------------------------
1 | import React, { Component } from 'react';
2 | import { Meteor } from 'meteor/meteor';
3 | import { render } from 'react-dom';
4 |
5 | import App from '../imports/client/App';
6 |
7 | Meteor.startup(() => {
8 | render(, document.getElementById('render-target'));
9 | });
10 |
--------------------------------------------------------------------------------
/votingAppReact end of #4/client/main.js:
--------------------------------------------------------------------------------
1 | import React, { Component } from 'react';
2 | import { Meteor } from 'meteor/meteor';
3 | import { render } from 'react-dom';
4 |
5 | import App from '../imports/client/App';
6 |
7 | Meteor.startup(() => {
8 | render(, document.getElementById('render-target'));
9 | });
10 |
--------------------------------------------------------------------------------
/votingAppReact end of #7/client/main.js:
--------------------------------------------------------------------------------
1 | import React, { Component } from 'react';
2 | import { Meteor } from 'meteor/meteor';
3 | import { render } from 'react-dom';
4 |
5 | import App from '../imports/client/App';
6 |
7 | Meteor.startup(() => {
8 | render(, document.getElementById('render-target'));
9 | });
10 |
--------------------------------------------------------------------------------
/votingAppReact end of #8/client/main.js:
--------------------------------------------------------------------------------
1 | import React, { Component } from 'react';
2 | import { Meteor } from 'meteor/meteor';
3 | import { render } from 'react-dom';
4 |
5 | import App from '../imports/client/App';
6 |
7 | Meteor.startup(() => {
8 | render(, document.getElementById('render-target'));
9 | });
10 |
--------------------------------------------------------------------------------
/votingAppReact end of #9/client/main.js:
--------------------------------------------------------------------------------
1 | import React, { Component } from 'react';
2 | import { Meteor } from 'meteor/meteor';
3 | import { render } from 'react-dom';
4 |
5 | import App from '../imports/client/App';
6 |
7 | Meteor.startup(() => {
8 | render(, document.getElementById('render-target'));
9 | });
10 |
--------------------------------------------------------------------------------
/votingAppReact end of $5/client/main.js:
--------------------------------------------------------------------------------
1 | import React, { Component } from 'react';
2 | import { Meteor } from 'meteor/meteor';
3 | import { render } from 'react-dom';
4 |
5 | import App from '../imports/client/App';
6 |
7 | Meteor.startup(() => {
8 | render(, document.getElementById('render-target'));
9 | });
10 |
--------------------------------------------------------------------------------
/votingAppReact end of #10/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "votingAppReact",
3 | "private": true,
4 | "scripts": {
5 | "start": "meteor run"
6 | },
7 | "dependencies": {
8 | "meteor-node-stubs": "~0.2.0",
9 | "react": "^15.3.2",
10 | "react-addons-pure-render-mixin": "^15.3.2",
11 | "react-dom": "^15.3.2"
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/votingAppReact end of #7/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "votingAppReact",
3 | "private": true,
4 | "scripts": {
5 | "start": "meteor run"
6 | },
7 | "dependencies": {
8 | "meteor-node-stubs": "~0.2.0",
9 | "react": "^15.3.2",
10 | "react-addons-pure-render-mixin": "^15.3.2",
11 | "react-dom": "^15.3.2"
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/votingAppReact end of #8/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "votingAppReact",
3 | "private": true,
4 | "scripts": {
5 | "start": "meteor run"
6 | },
7 | "dependencies": {
8 | "meteor-node-stubs": "~0.2.0",
9 | "react": "^15.3.2",
10 | "react-addons-pure-render-mixin": "^15.3.2",
11 | "react-dom": "^15.3.2"
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/votingAppReact end of #9/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "votingAppReact",
3 | "private": true,
4 | "scripts": {
5 | "start": "meteor run"
6 | },
7 | "dependencies": {
8 | "meteor-node-stubs": "~0.2.0",
9 | "react": "^15.3.2",
10 | "react-addons-pure-render-mixin": "^15.3.2",
11 | "react-dom": "^15.3.2"
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/FINAL CODE/.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 | q19zuf1be1biu1yrjh8u
8 |
--------------------------------------------------------------------------------
/votingAppReact 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 | q19zuf1be1biu1yrjh8u
8 |
--------------------------------------------------------------------------------
/votingAppReact 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 | q19zuf1be1biu1yrjh8u
8 |
--------------------------------------------------------------------------------
/votingAppReact 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 | q19zuf1be1biu1yrjh8u
8 |
--------------------------------------------------------------------------------
/votingAppReact 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 | q19zuf1be1biu1yrjh8u
8 |
--------------------------------------------------------------------------------
/votingAppReact 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 | q19zuf1be1biu1yrjh8u
8 |
--------------------------------------------------------------------------------
/votingAppReact 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 | q19zuf1be1biu1yrjh8u
8 |
--------------------------------------------------------------------------------
/votingAppReact 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 | q19zuf1be1biu1yrjh8u
8 |
--------------------------------------------------------------------------------
/votingAppReact 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 | q19zuf1be1biu1yrjh8u
8 |
--------------------------------------------------------------------------------
/votingAppReact 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 | q19zuf1be1biu1yrjh8u
8 |
--------------------------------------------------------------------------------
/votingAppReact end of #9/.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 | q19zuf1be1biu1yrjh8u
8 |
--------------------------------------------------------------------------------
/votingAppReact 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 | q19zuf1be1biu1yrjh8u
8 |
--------------------------------------------------------------------------------
/votingAppReact end of #7/server/main.js:
--------------------------------------------------------------------------------
1 | import { Meteor } from 'meteor/meteor';
2 |
3 | import Items from '../imports/api/Items';
4 |
5 |
6 | Meteor.startup(() => {
7 | Items.insert({
8 | itemOne: {
9 | text: 'Hi',
10 | value: 0,
11 | },
12 | itemTwo: {
13 | text: 'Hello',
14 | value: 0,
15 | }
16 | });
17 | // code to run on server at startup
18 | });
19 |
--------------------------------------------------------------------------------
/votingAppReact end of #8/server/main.js:
--------------------------------------------------------------------------------
1 | import { Meteor } from 'meteor/meteor';
2 |
3 | import Items from '../imports/api/Items';
4 |
5 |
6 | Meteor.startup(() => {
7 | Items.insert({
8 | itemOne: {
9 | text: 'Hi',
10 | value: 0,
11 | },
12 | itemTwo: {
13 | text: 'Hello',
14 | value: 0,
15 | }
16 | });
17 | // code to run on server at startup
18 | });
19 |
--------------------------------------------------------------------------------
/votingAppReact end of #11/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "votingAppReact",
3 | "private": true,
4 | "scripts": {
5 | "start": "meteor run"
6 | },
7 | "dependencies": {
8 | "classnames": "^2.2.5",
9 | "meteor-node-stubs": "~0.2.0",
10 | "react": "^15.3.2",
11 | "react-addons-pure-render-mixin": "^15.3.2",
12 | "react-dom": "^15.3.2",
13 | "react-komposer": "^1.13.1"
14 | }
15 | }
16 |
--------------------------------------------------------------------------------
/votingAppReact end of #12/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "votingAppReact",
3 | "private": true,
4 | "scripts": {
5 | "start": "meteor run"
6 | },
7 | "dependencies": {
8 | "classnames": "^2.2.5",
9 | "meteor-node-stubs": "~0.2.0",
10 | "react": "^15.3.2",
11 | "react-addons-pure-render-mixin": "^15.3.2",
12 | "react-dom": "^15.3.2",
13 | "react-komposer": "^1.13.1"
14 | }
15 | }
16 |
--------------------------------------------------------------------------------
/votingAppReact end of #13/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "votingAppReact",
3 | "private": true,
4 | "scripts": {
5 | "start": "meteor run"
6 | },
7 | "dependencies": {
8 | "classnames": "^2.2.5",
9 | "meteor-node-stubs": "~0.2.0",
10 | "react": "^15.3.2",
11 | "react-addons-pure-render-mixin": "^15.3.2",
12 | "react-dom": "^15.3.2",
13 | "react-komposer": "^1.13.1"
14 | }
15 | }
16 |
--------------------------------------------------------------------------------
/votingAppReact end of #14/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "votingAppReact",
3 | "private": true,
4 | "scripts": {
5 | "start": "meteor run"
6 | },
7 | "dependencies": {
8 | "classnames": "^2.2.5",
9 | "meteor-node-stubs": "~0.2.0",
10 | "react": "^15.3.2",
11 | "react-addons-pure-render-mixin": "^15.3.2",
12 | "react-dom": "^15.3.2",
13 | "react-komposer": "^1.13.1"
14 | }
15 | }
16 |
--------------------------------------------------------------------------------
/FINAL CODE/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "votingAppReact",
3 | "private": true,
4 | "scripts": {
5 | "start": "meteor run"
6 | },
7 | "dependencies": {
8 | "classnames": "^2.2.5",
9 | "meteor-node-stubs": "~0.2.0",
10 | "react": "^15.3.2",
11 | "react-addons-pure-render-mixin": "^15.3.2",
12 | "react-big-calendar": "^0.11.0",
13 | "react-dom": "^15.3.2",
14 | "react-komposer": "^1.13.1"
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/votingAppReact end of #4/imports/client/App.js:
--------------------------------------------------------------------------------
1 | import React, { Component } from 'react';
2 |
3 | let hello = 'Scott';
4 |
5 | // let headingClick = function() {
6 | // console.log('hello');
7 | // }
8 |
9 | export default class App extends Component {
10 | headingClick() {
11 | console.log('hello');
12 | }
13 |
14 | render() {
15 | return (
16 |
Hello {hello}!
17 | );
18 | }
19 | }
20 |
--------------------------------------------------------------------------------
/FINAL CODE/.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 |
--------------------------------------------------------------------------------
/votingAppReact 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 |
--------------------------------------------------------------------------------
/votingAppReact 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 |
--------------------------------------------------------------------------------
/votingAppReact 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 |
--------------------------------------------------------------------------------
/votingAppReact 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 |
--------------------------------------------------------------------------------
/votingAppReact 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 |
--------------------------------------------------------------------------------
/votingAppReact 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 |
--------------------------------------------------------------------------------
/votingAppReact 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 |
--------------------------------------------------------------------------------
/votingAppReact 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 |
--------------------------------------------------------------------------------
/votingAppReact 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 |
--------------------------------------------------------------------------------
/votingAppReact end of #9/.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 |
--------------------------------------------------------------------------------
/votingAppReact 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 |
--------------------------------------------------------------------------------
/votingAppReact end of #8/imports/client/Item.js:
--------------------------------------------------------------------------------
1 | import React, { Component } from 'react';
2 |
3 | export default class Item extends Component {
4 | render() {
5 | return (
6 |