New Toronto Group
 - New Toronto Group

Getting Started with MeteorJS

| Posted on December 18th, 2014 by Ronak Nagda


Meteor is an open source platform for building web and mobile applications in JavaScript. Meteor is a full-stack solution that gives you all you need to build your modern web applications purely in JavaScript.

Meteor

If you have landed on this page means you probably have heard about Meteor JS and/or are curious to know what it’s all about.

So first of all, what is Meteor? Meteor is an open source platform for building web and mobile applications in JavaScript. It’s not just a front-end JavaScript framework for rendering views or just a back-end database that lets you render HTML on your server. It’s a full-stack solution that gives you all you need to build your modern web applications purely in JavaScript.

Meteor’s installation process is very simple and you can usually be up and running in under 5 minutes. You will create and run your projects using Command Line Interfaces since Meteor uses only command line and there is no Meteor icon that you can click to run your Meteor application.

Meteor Platform Support

At the moment, Meteor is officially supported on:

  • Mac: OS X 10.6 and above
  • Linux: x86 and x86_64 systems
  • Windows: Official support for meteor is currently not available. But the news is that the work is in progress and the support for Windows will be out soon. But there is unofficial windows support available right now for you to play around with.

If you are a Windows user or if you’re running an older and unsupported version of Mac/Linux or you don’t want to install Meteor locally, you can check out Nitrous.io.

Meteor Installation

Meteor has a one line install process. You can install it by opening a terminal window and entering the following command:

curl https://install.meteor.com/ | sh

This command will:

  1. Connect to install.meteor.com.
  2. Download the latest version of Meteor.
  3. Install the software.

 

Creating a simple app

Once you have installed Meteor, go to the directory where you want to create your project and simply enter the following command:

meteor create myApp

This command will create a basic Meteor project named “myApp” in the current directory.

You now have the basic Meteor project setup and “myApp” folder will contain three files:

  • myApp.html
  • myApp.js
  • myApp.css

There is also a hidden folder “.meteor”, but it may or may not be visible depending on your OS settings.

You can run your newly created application by entering the following commands:

cd myApp
meteor run myApp

Once you run the app, it will be accessible at http://localhost:3000 in your browser. Navigate to this URL and you will notice that you are not seeing any static text on the page. Instead, you are viewing a real dynamic web application. You can now plunge right into the HTML and JS files and start to build your own project on top of it.

I believe Meteor is one of the best frameworks available out there for building fast web apps, which will only improve as the time progresses.

Useful Links and Reference:

Official Meteor Documentation

Meteor GitHub Page

Posted in Meteor, JavaScript Framework  | Comments (0)

Comments (0)


Add a Comment





To use reCAPTCHA you must get an API key from http://recaptcha.net/api/getkey

Allowed tags: <b><i><br>Add a new comment: