$ curl https://install.meteor.com/ | sh
meteor --port $IP:$PORT
export MONGO_URL=mongodb://SERVERNAME:PORT/YOUR_DB_APP
npm install
meteor remove insecure meteor remove autopublish
-op1: meteor run --port 5050 // https://forums.meteor.com/t/meteor-starts-only-on-port-3000-not-any-other-port/27271/8 -op2: edit the package.json file to
"scripts": { "start": "meteor run --port 5050" }
and start the server with npm start
export HTTP_PROXY=http://xxx.xxx:port
export HTTPS_PROXY=http://xxx.xxx:port
meteor npm install --save react-addons-pure-render-mixin meteor add react-meteor-data //removed meteor add reywood:publish-composite meteor add fourseven:scss //compile SASS // docs: https://github.com/fourseven/meteor-scss meteor npm install --save react-router react-router-dom meteor npm install --save bcrypt
You can read the full documentation on : https://www.meteor.com/tutorials/react/collections
meteor add accounts-ui accounts-password Example: https://www.meteor.com/tutorials/react/adding-user-accounts
http://www.mrscottmcallister.com/custom-authentication-in-meteor/
I am looking this article about it: https://www.discovermeteor.com/blog/reactive-joins-in-meteor/ I am thinking a good approach can be: https://github.com/peerlibrary/meteor-reactive-publish
// removed https://github.com/englue/meteor-publish-composite
Add redux to MeteorJs https://www.npmjs.com/package/react-redux-meteor
Add modal https://reactcommunity.org/react-modal/
Team: api/team
- Add: name, date, description, owner
- Update: name , date, description
- Delete: teamid
- Add users: teamid, userid
- Add channel: teamid, channelid
User: api/user
- Add team: teamid
- Add document: document
- Update team: teamid, status
channel: api/channel
- Add channel: name, date, teamid
- Add message: msgid
- Update channel: channelid, status
https://marmelab.com/blog/2015/11/27/meteor-webpack-react-redux.html
const suscription = Meteor.subscribe('myteams', { onReady: function() { return dispatch(fetchTeamsLoaded(YourCollection.find({}).fetch())); }, onError: function() { throw new Error('Error was ocurred'); } });
http://www.thegreatcodeadventure.com/react-redux-tutorial-part-vi-the-edit-feature/