├── .eslintrc ├── .gitignore ├── .meteor ├── .finished-upgraders ├── .gitignore ├── .id ├── packages ├── platforms ├── release └── versions ├── LICENSE.md ├── README.md ├── client ├── index.html └── main.js ├── imports ├── api │ └── .gitkeep ├── startup │ ├── client │ │ ├── index.js │ │ └── routes.js │ └── server │ │ └── index.js └── ui │ └── components │ └── HelloWorld.js ├── package.json └── server └── main.js /.eslintrc: -------------------------------------------------------------------------------- 1 | { 2 | "env": { 3 | "meteor": true, 4 | "browser": true 5 | }, 6 | "parser": "babel-eslint", 7 | "parserOptions": { 8 | "allowImportExportEverywhere": true 9 | }, 10 | "plugins": [ 11 | "meteor" 12 | ], 13 | "extends": [ 14 | "airbnb", 15 | "plugin:meteor/recommended" 16 | ], 17 | "settings": { 18 | "import/resolver": "meteor" 19 | }, 20 | "rules": { 21 | "react/jsx-filename-extension": [ 22 | 1, 23 | { 24 | "extensions": [ 25 | ".js", 26 | ".jsx" 27 | ] 28 | } 29 | ], 30 | "import/no-extraneous-dependencies": "off", 31 | "import/no-absolute-path": "off", 32 | "import/extensions": "off" 33 | } 34 | } -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | .DS_Store 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 | -------------------------------------------------------------------------------- /.meteor/.gitignore: -------------------------------------------------------------------------------- 1 | local 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 | 5bhgdt1s5lmh21jrem9o 8 | -------------------------------------------------------------------------------- /.meteor/packages: -------------------------------------------------------------------------------- 1 | # Meteor packages used by this project, one per line. 2 | # Check this file (and the other files in this directory) into your repository. 3 | # 4 | # 'meteor add' and 'meteor remove' will edit this file for you, 5 | # but you can also edit it by hand. 6 | 7 | meteor-base@1.0.4 # Packages every Meteor app needs to have 8 | mobile-experience@1.0.4 # Packages for a great mobile UX 9 | mongo@1.1.14 # The database Meteor supports right now 10 | reactive-var@1.0.11 # Reactive variable for tracker 11 | jquery@1.11.10 # Helpful client-side library 12 | tracker@1.1.1 # Meteor's client-side reactive programming library 13 | 14 | standard-minifier-css@1.3.2 # CSS minifier run for production mode 15 | standard-minifier-js@1.2.1 # JS minifier run for production mode 16 | es5-shim@4.6.15 # ECMAScript 5 compatibility for older browsers. 17 | ecmascript@0.5.9 # Enable ECMAScript2015+ syntax in app code 18 | 19 | autopublish@1.0.7 # Publish all data to the clients (for prototyping) 20 | insecure@1.0.7 # Allow all DB writes from clients (for prototyping) 21 | static-html@1.1.12 22 | shell-server@0.2.1 23 | -------------------------------------------------------------------------------- /.meteor/platforms: -------------------------------------------------------------------------------- 1 | server 2 | browser 3 | -------------------------------------------------------------------------------- /.meteor/release: -------------------------------------------------------------------------------- 1 | METEOR@1.4.2.1 2 | -------------------------------------------------------------------------------- /.meteor/versions: -------------------------------------------------------------------------------- 1 | allow-deny@1.0.5 2 | autopublish@1.0.7 3 | autoupdate@1.3.12 4 | babel-compiler@6.13.0 5 | babel-runtime@1.0.0 6 | base64@1.0.10 7 | binary-heap@1.0.10 8 | blaze@2.1.9 9 | blaze-tools@1.0.10 10 | boilerplate-generator@1.0.11 11 | caching-compiler@1.1.9 12 | caching-html-compiler@1.0.7 13 | callback-hook@1.0.10 14 | check@1.2.4 15 | ddp@1.2.5 16 | ddp-client@1.3.2 17 | ddp-common@1.2.8 18 | ddp-server@1.3.12 19 | deps@1.0.12 20 | diff-sequence@1.0.7 21 | ecmascript@0.6.0 22 | ecmascript-runtime@0.3.15 23 | ejson@1.0.13 24 | es5-shim@4.6.15 25 | fastclick@1.0.13 26 | geojson-utils@1.0.10 27 | hot-code-push@1.0.4 28 | html-tools@1.0.11 29 | htmljs@1.0.11 30 | http@1.2.10 31 | id-map@1.0.9 32 | insecure@1.0.7 33 | jquery@1.11.10 34 | launch-screen@1.0.12 35 | livedata@1.0.18 36 | logging@1.1.16 37 | meteor@1.6.0 38 | meteor-base@1.0.4 39 | minifier-css@1.2.15 40 | minifier-js@1.2.15 41 | minimongo@1.0.18 42 | mobile-experience@1.0.4 43 | mobile-status-bar@1.0.13 44 | modules@0.7.7 45 | modules-runtime@0.7.7 46 | mongo@1.1.14 47 | mongo-id@1.0.6 48 | npm-mongo@2.2.11_2 49 | observe-sequence@1.0.14 50 | ordered-dict@1.0.9 51 | promise@0.8.8 52 | random@1.0.10 53 | reactive-var@1.0.11 54 | reload@1.1.11 55 | retry@1.0.9 56 | routepolicy@1.0.12 57 | shell-server@0.2.1 58 | spacebars@1.0.13 59 | spacebars-compiler@1.0.13 60 | standard-minifier-css@1.3.2 61 | standard-minifier-js@1.2.1 62 | static-html@1.1.13 63 | templating-tools@1.0.5 64 | tracker@1.1.1 65 | ui@1.0.12 66 | underscore@1.0.10 67 | url@1.0.11 68 | webapp@1.3.12 69 | webapp-hashing@1.0.9 70 | -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2016 David Burles 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy of 6 | this software and associated documentation files (the "Software"), to deal in 7 | the Software without restriction, including without limitation the rights to 8 | use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of 9 | the Software, and to permit persons to whom the Software is furnished to do so, 10 | subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS 17 | FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR 18 | COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER 19 | IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 20 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 21 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # meteor-guide-starter-react 2 | 3 | A Meteor application starter based on the [Meteor guide](http://guide.meteor.com/). 4 | 5 | ## Why? 6 | 7 | This application contains the bare minimum configuration you would typically have to do when creating a new project. 8 | 9 | ## Installation 10 | 11 | 1. Download the latest release here https://github.com/dburles/meteor-guide-starter-react/releases 12 | 2. `$ meteor npm install` 13 | 3. `$ meteor` 14 | 15 | ## License 16 | 17 | MIT 18 | -------------------------------------------------------------------------------- /client/index.html: -------------------------------------------------------------------------------- 1 | 2 | meteor-guide-starter-react 3 | 4 | 5 | 6 |
7 | 8 | -------------------------------------------------------------------------------- /client/main.js: -------------------------------------------------------------------------------- 1 | import '/imports/startup/client'; 2 | -------------------------------------------------------------------------------- /imports/api/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dburles/meteor-guide-starter-react/820d5f3291781663f346a96d56a476fc661955b0/imports/api/.gitkeep -------------------------------------------------------------------------------- /imports/startup/client/index.js: -------------------------------------------------------------------------------- 1 | import { Meteor } from 'meteor/meteor'; 2 | import React from 'react'; 3 | import { render } from 'react-dom'; 4 | import HelloWorld from '/imports/ui/components/HelloWorld'; 5 | import './routes'; 6 | 7 | Meteor.startup(() => { 8 | render(, document.getElementById('app')); 9 | }); 10 | -------------------------------------------------------------------------------- /imports/startup/client/routes.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dburles/meteor-guide-starter-react/820d5f3291781663f346a96d56a476fc661955b0/imports/startup/client/routes.js -------------------------------------------------------------------------------- /imports/startup/server/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dburles/meteor-guide-starter-react/820d5f3291781663f346a96d56a476fc661955b0/imports/startup/server/index.js -------------------------------------------------------------------------------- /imports/ui/components/HelloWorld.js: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | 3 | export default function HelloWorld() { 4 | return

Hello World

; 5 | } 6 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "meteor-guide-starter-react", 3 | "private": true, 4 | "scripts": { 5 | "start": "meteor run", 6 | "lint": "eslint .", 7 | "pretest": "npm run lint --silent" 8 | }, 9 | "dependencies": { 10 | "babel-runtime": "^6.18.0", 11 | "meteor-node-stubs": "^0.2.4", 12 | "react": "^15.4.1", 13 | "react-dom": "^15.4.1" 14 | }, 15 | "devDependencies": { 16 | "babel-eslint": "^7.1.1", 17 | "eslint": "^3.10.2", 18 | "eslint-config-airbnb": "^13.0.0", 19 | "eslint-import-resolver-meteor": "^0.3.4", 20 | "eslint-plugin-import": "^2.2.0", 21 | "eslint-plugin-jsx-a11y": "^2.2.3", 22 | "eslint-plugin-meteor": "^4.0.1", 23 | "eslint-plugin-react": "^6.7.1" 24 | }, 25 | "eslintConfig": { 26 | "parser": "babel-eslint", 27 | "parserOptions": { 28 | "allowImportExportEverywhere": true 29 | }, 30 | "plugins": [ 31 | "meteor" 32 | ], 33 | "extends": [ 34 | "airbnb", 35 | "plugin:meteor/recommended" 36 | ], 37 | "settings": { 38 | "import/resolver": "meteor" 39 | }, 40 | "rules": { 41 | "react/jsx-filename-extension": [ 42 | 1, 43 | { 44 | "extensions": [ 45 | ".js", 46 | ".jsx" 47 | ] 48 | } 49 | ], 50 | "import/no-extraneous-dependencies": "off", 51 | "import/no-absolute-path": "off", 52 | "import/extensions": "off" 53 | } 54 | } 55 | } 56 | -------------------------------------------------------------------------------- /server/main.js: -------------------------------------------------------------------------------- 1 | import '/imports/startup/server'; 2 | --------------------------------------------------------------------------------