-
First of all, install meteor. It is as easy as:
curl https://install.meteor.com/ | sh
-
then clone the current repo
-
start meteor from within the project directory
meteor
This example is a very simple chat application that comes with:
-
user authentication
-
no security (incecure and autopublish is not removed)
-
raw message’s timestamp displayed
-
no css
We are going to use the momentjs
lib to format the timestamp. To do so, just add the lib:
meteor add momentjs:moment
then uncomment the input
template helper section in main.js
and let meteor rebuild and livereload the changes.
There is no naming convention. You can name your file as you want, Meteor will load them.