Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Build Applications with Meteor

You're reading from   Build Applications with Meteor Isomorphic JavaScript web development

Arrow left icon
Product type Paperback
Published in May 2017
Publisher Packt
ISBN-13 9781787129887
Length 388 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Dobrin Ganev Dobrin Ganev
Author Profile Icon Dobrin Ganev
Dobrin Ganev
Arrow right icon
View More author details
Toc

Creating the project structure


Ctrl + Alt + T will open the terminal, change the directory to the desired location, create a shopping cart app with the meteor CLI, and install all the required packages.

Copy the following commands serially to create the app and install the packages:

>> meteor create shopping_cart
>> npm install
>> npm install react --save
>> npm install react-dom --save
>> meteor add react-meteor-data
>> npm install --save react react-addons-pure-render-mixin

Starting from the client side, let's delete all the default folders and create the following files and folders:

How to structure your app is completely up to you. For quick prototypes, you can use the defaults and just add more into the directories or, if you have a favorite open source project and you like its setup, you can copy the design from it. However, in real life, how the app is architected can depend on many factors. Often, we work on a mixture of new and legacy code and sometimes...

You have been reading a chapter from
Build Applications with Meteor
Published in: May 2017
Publisher: Packt
ISBN-13: 9781787129887
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image