Skip to content

Commit a86e98d

Browse files
committed
updated to fix graphql
1 parent dd491da commit a86e98d

File tree

29 files changed

+205
-96
lines changed

29 files changed

+205
-96
lines changed

app/lib/.gitkeep

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+

app/package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,11 @@
2929
"express": "^4.14.0",
3030
"formatjs": "^0.1.1",
3131
"graphql": "^0.8.2",
32+
"graphql-custom-types": "^0.7.1",
3233
"graphql-schema-collector": "0.2.4",
3334
"graphql-server-express": "^0.4.3",
34-
"graphql-tag": "^1.1.2",
35+
"graphql-subscriptions": "^0.2.2",
36+
"graphql-tag": "^1.2.1",
3537
"graphql-tools": "^0.8.4",
3638
"graphql-typings": "0.0.1-beta-2",
3739
"intl-locales-supported": "^1.0.0",
@@ -62,6 +64,7 @@
6264
"react-apollo": "^0.7.0",
6365
"react-bootstrap": "^0.30.2",
6466
"react-codemirror": "^0.2.6",
67+
"react-cookie": "^1.0.4",
6568
"react-dom": "^15.2.0",
6669
"react-ga": "^2.1.2",
6770
"react-helmet": "^3.1.0",
@@ -93,6 +96,7 @@
9396
"rxjs": "^5.0.1",
9497
"sass-loader": "^4.0.0",
9598
"shortid": "^2.2.6",
99+
"subscriptions-transport-ws": "^0.3.1",
96100
"tracker-component": "^1.3.21",
97101
"transit-immutable-js": "^0.6.0",
98102
"transit-js": "^0.8.846",

app/packages/.gitkeep

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+

app/private/.gitkeep

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+

app/public/.gitkeep

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
import React, { PropTypes, Component } from 'react';
2+
import Tracker from 'tracker-component';
3+
import { Accounts, STATES } from 'meteor/std:accounts-bootstrap';
4+
import { browserHistory } from 'react-router';
5+
import { Meteor } from 'meteor/meteor';
6+
7+
8+
export default class Profile extends Tracker.Component {
9+
10+
11+
render() {
12+
return (
13+
<div className="container">
14+
<Accounts.ui.LoginForm fromState={STATES.PROFILE} />
15+
</div>
16+
);
17+
}
18+
19+
}

app/src/MainApp/client/app/layouts/Footer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const AppFooter = () => (
1515
<FormattedMessage {...messages.madeByHtml} />
1616
{'\u00a0'}
1717
<Link to="https://github.com/cdmbase/meter-react-redux-webpack-starter-kit">
18-
Meteork Kit
18+
Meteor Kit
1919
</Link>
2020
</Footer>
2121
);

app/src/MainApp/client/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Accounts.ui.config({
1313
loginPath: '/signin',
1414
signUpPath: '/signup',
1515
resetPasswordPath: '/reset-password',
16-
profilePath: '/',
16+
profilePath: '/profile',
1717
minimumPasswordLength: 4,
1818
});
1919

app/src/MainApp/client/routes.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,14 @@ import { Route, IndexRoute } from 'react-router';
22
import { Meteor } from 'meteor/meteor';
33
import App from './app/App';
44
import Main from './app/Main';
5-
import Index from './app/Index';
5+
import Index from './app/index';
66
import NotFound from '../imports/ui/components/notfound/NotFoundPage';
77
import SignIn from '../imports/ui/components/auth/SignIn';
88
import SignUp from '../imports/ui/components/auth/SignUp';
99
import SignOut from '../imports/ui/components/auth/SignOut';
1010
import Docs from '../imports/ui/components/docs/Docs';
1111
import logger from 'cdm-logger';
12+
import Profile from 'Main/Profile';
1213

1314
import { getRoutes } from '../../AdminApp/client/routes';
1415

@@ -28,7 +29,7 @@ class routes {
2829
* Only need to inject this on the CLIENT side for lazy loading
2930
*/
3031
injectStore(store) {
31-
logger.debug('Injecting Store', store);
32+
logger.debug('Injecting Store and available states are ', store.getState());
3233
this.store = store;
3334
}
3435

@@ -52,6 +53,7 @@ class routes {
5253
<Route path="/signin" component={SignIn} />
5354
<Route path="/signup" component={SignUp} />
5455
<Route path="/signout" component={SignOut} />
56+
<Route path="/profile" component={ Profile } />
5557
<Route path="/docs" component={Docs} />
5658
</Route>
5759
{/* -- Protected Site here --*/}

app/src/MainApp/imports/api/server/graphql/connectors/index.js

Whitespace-only changes.

0 commit comments

Comments
 (0)