- Create full-stack web and mobile apps with just Javascript
- Galaxy platform for superfast deployments
- Open source,
- Let's create an app (to-do list)
- meteor create simple-todos a. simple-todos.js # a JavaScript file loaded on both client and server b. simple-todos.html # an HTML file that defines view templates c. simple-todos.css # a CSS file to define your app's styles d. .meteor # internal Meteor files
<ul>
{{#each tasks}}
{{> task}}
{{/each}}
</ul>
<template name="task">
<li>{{text}}</li>
</template>
if (Meteor.isClient) {
// This code only runs on the client
Template.body.helpers({
tasks: [
{ text: "This is task 1" },
{ text: "This is task 2" },
{ text: "This is task 3" }
]
});
}