-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathlunch.js
42 lines (27 loc) · 1.55 KB
/
lunch.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
/*
...
## FOLDER STRUCTURE (from https://github.com/oortcloud/unofficial-meteor-faq)
lib/ # <- any common code for client/server.
lib/environment.js # <- general configuration
lib/methods.js # <- Meteor.method definitions
lib/external # <- common code from someone else
# Note that js files in lib folders are loaded before other js files.
collections/ # <- definitions of collections and methods on them (could be models/)
client/lib # <- client specific libraries (also loaded first)
client/lib/environment.js # <- configuration of any client side packages
client/lib/helpers # <- any helpers (handlebars or otherwise) that are used often in view files
client/application.js # <- subscriptions, basic Meteor.startup code.
client/index.html # <- toplevel html
client/index.js # <- and its JS
client/views/<page>.html # <- the templates specific to a single page
client/views/<page>.js # <- and the JS to hook it up
client/views/<type>/ # <- if you find you have a lot of views of the same object type
server/publications.js # <- Meteor.publish definitions
server/lib/environment.js # <- configuration of server side packages
# large modules:
feature-foo/ # <- all functionality related to feature 'foo'
feature-foo/lib/ # <- common code
feature-foo/models/ # <- model definitions
feature-foo/client/ # <- files only sent to the client
feature-foo/server/ # <- files only available on the server
*/