Sunday, August 13, 2017

How to start work with Meteor ?

Meteor is full stack JavaScript platform it helps to build modern web and mobile applications. Meteor has good features compared with other JavaScript frameworks full-stack development, platform independent, Mongodb integration, live reload are some of those features.  so let start to create a small project using meteor.js

first of all go to the directory where you want to create the project and open the terminal. here i'm going to explain to create sample project called "resolutions". follow the below commands on terminal.
meteor create resolutions - this command will create project
and go to the project directory by using the "cd" command.




























This is basic file structure of a meteor project. meteor ensures that any files any directory named client / will be available on the client and same wise server.  client/main.js and server/main.js helps in order to define entry points for both client and server.

to run this project type the command meteor 
usually meteor projects run on port 3000.
meteor run --port (port_number) by thorugh this command you can change the port.

















you can see this page once you run the project. so this the way create and run a meteor project. so hope you all understood the very basic step of creating a project meteor.