This week with Meteor we restructured the application. After developing on this project for the last month or so, we have decided on some best practices for our team. Drawing on other experiences that we have had with .Net, Backbone.js and Angular, we decided to go with a feature based approach.
At the top most level, we have 4 main folders so far:
1. Client folder
2. Features folder
3. Public folder
The public folder contains all assets you want to be displayed on the web page. We have placed the favicon.ico here as well as the downloadable fonts and any images we want to be shown on our web page. We also have created a data folder that contains any offline data for web service calls we make for developing offline.
4. Server folder
Finally we have the server folder that contains the Meteor publication information and any global server side settings, such as SMTP server settings.
That’s our project structure, obviously it’s subject to change as we learn more about Meteor.