├── .babelrc ├── .eslintignore ├── .eslintrc ├── .flowconfig ├── .gitignore ├── .sequelizerc ├── LICENSE ├── README.md ├── flow-typed └── npm │ ├── bluebird_v3.x.x.js │ ├── body-parser_v1.x.x.js │ ├── debug_v2.x.x.js │ ├── express_v4.x.x.js │ ├── flow-bin_v0.x.x.js │ ├── jest_v20.x.x.js │ ├── lodash_v4.x.x.js │ ├── morgan_v1.x.x.js │ └── pg_v6.x.x.js ├── nodemon.json ├── package.json ├── react-ui ├── .env.development ├── .gitignore ├── README.md ├── flow-typed │ └── npm │ │ ├── @shopify │ │ └── polaris_vx.x.x.js │ │ ├── axios_v0.16.x.js │ │ ├── enzyme_v2.3.x.js │ │ ├── flow-bin_v0.x.x.js │ │ ├── react-redux_v5.x.x.js │ │ ├── react-router-dom_v4.x.x.js │ │ ├── react-router-redux_vx.x.x.js │ │ ├── react-test-renderer_vx.x.x.js │ │ ├── redux-thunk_vx.x.x.js │ │ └── redux_v3.x.x.js ├── package.json ├── public │ ├── favicon.ico │ ├── index.html │ └── manifest.json └── src │ ├── App.js │ ├── containers │ ├── About.js │ ├── About.spec.js │ ├── ProductsPage.js │ ├── ProductsPage.spec.js │ └── __snapshots__ │ │ ├── About.spec.js.snap │ │ └── ProductsPage.spec.js.snap │ ├── index.css │ ├── index.js │ ├── logo.svg │ ├── redux │ ├── index.js │ └── products.js │ ├── registerServiceWorker.js │ ├── store.js │ └── types │ └── index.js ├── server ├── app.js ├── config │ └── index.js ├── db │ ├── connect.js │ ├── index.js │ ├── migrations │ │ └── 20170805140708-create-shop.js │ ├── models │ │ ├── index.js │ │ └── shop.js │ ├── sequelize_config.json │ └── session.js ├── routes │ ├── session-helper.js │ ├── setupMocks.js │ ├── shopify.js │ └── shopify.spec.js ├── server.js └── views │ ├── 500.pug │ ├── charge_declined.pug │ └── shopify_redirect.pug └── webpack.config.js /.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": ["es2015", "stage-0"] 3 | } 4 | -------------------------------------------------------------------------------- /.eslintignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/airmiha/create-shopify-app/HEAD/.eslintignore -------------------------------------------------------------------------------- /.eslintrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/airmiha/create-shopify-app/HEAD/.eslintrc -------------------------------------------------------------------------------- /.flowconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/airmiha/create-shopify-app/HEAD/.flowconfig -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/airmiha/create-shopify-app/HEAD/.gitignore -------------------------------------------------------------------------------- /.sequelizerc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/airmiha/create-shopify-app/HEAD/.sequelizerc -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/airmiha/create-shopify-app/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/airmiha/create-shopify-app/HEAD/README.md -------------------------------------------------------------------------------- /flow-typed/npm/bluebird_v3.x.x.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/airmiha/create-shopify-app/HEAD/flow-typed/npm/bluebird_v3.x.x.js -------------------------------------------------------------------------------- /flow-typed/npm/body-parser_v1.x.x.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/airmiha/create-shopify-app/HEAD/flow-typed/npm/body-parser_v1.x.x.js -------------------------------------------------------------------------------- /flow-typed/npm/debug_v2.x.x.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/airmiha/create-shopify-app/HEAD/flow-typed/npm/debug_v2.x.x.js -------------------------------------------------------------------------------- /flow-typed/npm/express_v4.x.x.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/airmiha/create-shopify-app/HEAD/flow-typed/npm/express_v4.x.x.js -------------------------------------------------------------------------------- /flow-typed/npm/flow-bin_v0.x.x.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/airmiha/create-shopify-app/HEAD/flow-typed/npm/flow-bin_v0.x.x.js -------------------------------------------------------------------------------- /flow-typed/npm/jest_v20.x.x.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/airmiha/create-shopify-app/HEAD/flow-typed/npm/jest_v20.x.x.js -------------------------------------------------------------------------------- /flow-typed/npm/lodash_v4.x.x.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/airmiha/create-shopify-app/HEAD/flow-typed/npm/lodash_v4.x.x.js -------------------------------------------------------------------------------- /flow-typed/npm/morgan_v1.x.x.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/airmiha/create-shopify-app/HEAD/flow-typed/npm/morgan_v1.x.x.js -------------------------------------------------------------------------------- /flow-typed/npm/pg_v6.x.x.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/airmiha/create-shopify-app/HEAD/flow-typed/npm/pg_v6.x.x.js -------------------------------------------------------------------------------- /nodemon.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/airmiha/create-shopify-app/HEAD/nodemon.json -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/airmiha/create-shopify-app/HEAD/package.json -------------------------------------------------------------------------------- /react-ui/.env.development: -------------------------------------------------------------------------------- 1 | DANGEROUSLY_DISABLE_HOST_CHECK=true -------------------------------------------------------------------------------- /react-ui/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/airmiha/create-shopify-app/HEAD/react-ui/.gitignore -------------------------------------------------------------------------------- /react-ui/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/airmiha/create-shopify-app/HEAD/react-ui/README.md -------------------------------------------------------------------------------- /react-ui/flow-typed/npm/@shopify/polaris_vx.x.x.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/airmiha/create-shopify-app/HEAD/react-ui/flow-typed/npm/@shopify/polaris_vx.x.x.js -------------------------------------------------------------------------------- /react-ui/flow-typed/npm/axios_v0.16.x.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/airmiha/create-shopify-app/HEAD/react-ui/flow-typed/npm/axios_v0.16.x.js -------------------------------------------------------------------------------- /react-ui/flow-typed/npm/enzyme_v2.3.x.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/airmiha/create-shopify-app/HEAD/react-ui/flow-typed/npm/enzyme_v2.3.x.js -------------------------------------------------------------------------------- /react-ui/flow-typed/npm/flow-bin_v0.x.x.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/airmiha/create-shopify-app/HEAD/react-ui/flow-typed/npm/flow-bin_v0.x.x.js -------------------------------------------------------------------------------- /react-ui/flow-typed/npm/react-redux_v5.x.x.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/airmiha/create-shopify-app/HEAD/react-ui/flow-typed/npm/react-redux_v5.x.x.js -------------------------------------------------------------------------------- /react-ui/flow-typed/npm/react-router-dom_v4.x.x.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/airmiha/create-shopify-app/HEAD/react-ui/flow-typed/npm/react-router-dom_v4.x.x.js -------------------------------------------------------------------------------- /react-ui/flow-typed/npm/react-router-redux_vx.x.x.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/airmiha/create-shopify-app/HEAD/react-ui/flow-typed/npm/react-router-redux_vx.x.x.js -------------------------------------------------------------------------------- /react-ui/flow-typed/npm/react-test-renderer_vx.x.x.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/airmiha/create-shopify-app/HEAD/react-ui/flow-typed/npm/react-test-renderer_vx.x.x.js -------------------------------------------------------------------------------- /react-ui/flow-typed/npm/redux-thunk_vx.x.x.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/airmiha/create-shopify-app/HEAD/react-ui/flow-typed/npm/redux-thunk_vx.x.x.js -------------------------------------------------------------------------------- /react-ui/flow-typed/npm/redux_v3.x.x.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/airmiha/create-shopify-app/HEAD/react-ui/flow-typed/npm/redux_v3.x.x.js -------------------------------------------------------------------------------- /react-ui/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/airmiha/create-shopify-app/HEAD/react-ui/package.json -------------------------------------------------------------------------------- /react-ui/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/airmiha/create-shopify-app/HEAD/react-ui/public/favicon.ico -------------------------------------------------------------------------------- /react-ui/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/airmiha/create-shopify-app/HEAD/react-ui/public/index.html -------------------------------------------------------------------------------- /react-ui/public/manifest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/airmiha/create-shopify-app/HEAD/react-ui/public/manifest.json -------------------------------------------------------------------------------- /react-ui/src/App.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/airmiha/create-shopify-app/HEAD/react-ui/src/App.js -------------------------------------------------------------------------------- /react-ui/src/containers/About.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/airmiha/create-shopify-app/HEAD/react-ui/src/containers/About.js -------------------------------------------------------------------------------- /react-ui/src/containers/About.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/airmiha/create-shopify-app/HEAD/react-ui/src/containers/About.spec.js -------------------------------------------------------------------------------- /react-ui/src/containers/ProductsPage.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/airmiha/create-shopify-app/HEAD/react-ui/src/containers/ProductsPage.js -------------------------------------------------------------------------------- /react-ui/src/containers/ProductsPage.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/airmiha/create-shopify-app/HEAD/react-ui/src/containers/ProductsPage.spec.js -------------------------------------------------------------------------------- /react-ui/src/containers/__snapshots__/About.spec.js.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/airmiha/create-shopify-app/HEAD/react-ui/src/containers/__snapshots__/About.spec.js.snap -------------------------------------------------------------------------------- /react-ui/src/containers/__snapshots__/ProductsPage.spec.js.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/airmiha/create-shopify-app/HEAD/react-ui/src/containers/__snapshots__/ProductsPage.spec.js.snap -------------------------------------------------------------------------------- /react-ui/src/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/airmiha/create-shopify-app/HEAD/react-ui/src/index.css -------------------------------------------------------------------------------- /react-ui/src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/airmiha/create-shopify-app/HEAD/react-ui/src/index.js -------------------------------------------------------------------------------- /react-ui/src/logo.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/airmiha/create-shopify-app/HEAD/react-ui/src/logo.svg -------------------------------------------------------------------------------- /react-ui/src/redux/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/airmiha/create-shopify-app/HEAD/react-ui/src/redux/index.js -------------------------------------------------------------------------------- /react-ui/src/redux/products.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/airmiha/create-shopify-app/HEAD/react-ui/src/redux/products.js -------------------------------------------------------------------------------- /react-ui/src/registerServiceWorker.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/airmiha/create-shopify-app/HEAD/react-ui/src/registerServiceWorker.js -------------------------------------------------------------------------------- /react-ui/src/store.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/airmiha/create-shopify-app/HEAD/react-ui/src/store.js -------------------------------------------------------------------------------- /react-ui/src/types/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/airmiha/create-shopify-app/HEAD/react-ui/src/types/index.js -------------------------------------------------------------------------------- /server/app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/airmiha/create-shopify-app/HEAD/server/app.js -------------------------------------------------------------------------------- /server/config/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/airmiha/create-shopify-app/HEAD/server/config/index.js -------------------------------------------------------------------------------- /server/db/connect.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/airmiha/create-shopify-app/HEAD/server/db/connect.js -------------------------------------------------------------------------------- /server/db/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/airmiha/create-shopify-app/HEAD/server/db/index.js -------------------------------------------------------------------------------- /server/db/migrations/20170805140708-create-shop.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/airmiha/create-shopify-app/HEAD/server/db/migrations/20170805140708-create-shop.js -------------------------------------------------------------------------------- /server/db/models/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/airmiha/create-shopify-app/HEAD/server/db/models/index.js -------------------------------------------------------------------------------- /server/db/models/shop.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/airmiha/create-shopify-app/HEAD/server/db/models/shop.js -------------------------------------------------------------------------------- /server/db/sequelize_config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/airmiha/create-shopify-app/HEAD/server/db/sequelize_config.json -------------------------------------------------------------------------------- /server/db/session.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/airmiha/create-shopify-app/HEAD/server/db/session.js -------------------------------------------------------------------------------- /server/routes/session-helper.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/airmiha/create-shopify-app/HEAD/server/routes/session-helper.js -------------------------------------------------------------------------------- /server/routes/setupMocks.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/airmiha/create-shopify-app/HEAD/server/routes/setupMocks.js -------------------------------------------------------------------------------- /server/routes/shopify.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/airmiha/create-shopify-app/HEAD/server/routes/shopify.js -------------------------------------------------------------------------------- /server/routes/shopify.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/airmiha/create-shopify-app/HEAD/server/routes/shopify.spec.js -------------------------------------------------------------------------------- /server/server.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/airmiha/create-shopify-app/HEAD/server/server.js -------------------------------------------------------------------------------- /server/views/500.pug: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/airmiha/create-shopify-app/HEAD/server/views/500.pug -------------------------------------------------------------------------------- /server/views/charge_declined.pug: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/airmiha/create-shopify-app/HEAD/server/views/charge_declined.pug -------------------------------------------------------------------------------- /server/views/shopify_redirect.pug: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/airmiha/create-shopify-app/HEAD/server/views/shopify_redirect.pug -------------------------------------------------------------------------------- /webpack.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/airmiha/create-shopify-app/HEAD/webpack.config.js --------------------------------------------------------------------------------