https://github.com/dfischer/meteor-boilerplate
Yet another meteor boilerplate project structure + obvious packages for bootstrapping new meteor projects.
https://github.com/dfischer/meteor-boilerplate
Last synced: about 1 year ago
JSON representation
Yet another meteor boilerplate project structure + obvious packages for bootstrapping new meteor projects.
- Host: GitHub
- URL: https://github.com/dfischer/meteor-boilerplate
- Owner: dfischer
- Created: 2014-10-09T06:45:21.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2014-10-09T07:16:42.000Z (over 11 years ago)
- Last Synced: 2024-04-14T07:44:18.827Z (about 2 years ago)
- Language: JavaScript
- Homepage: http://www.danielfischer.com
- Size: 145 KB
- Stars: 28
- Watchers: 5
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
meteor-boilerplate
==================
A meteor best practices project structure + obvious packages for bootstrapping new meteor projects.
```
client/
compatibility/
views/
admin/
landing_pages/
home.html
home.js
home.scss
layouts
main.html
main.js
lib/
router.js
routes/
landing_pages.js
models/
public/
server/
publications.js
fixtures.js
```
Explanation
-----------
This project structure gives you a nice amount of modularity. It's a change from the traditional MVC pattern (if you come from Rails especially). At first glance it may be weird to have `.js .html .scss` files together but in reality it makes a lot of sense. You don't have to do much context switching and each namespace is basically a self-contained module, which allows for easy abstraction into a package as needed.
Otherwise everything else should be pretty obvious. You have your publications, fixtures, and routing best practices.
Enjoy!
Packages
========
* iron-router
* spiderable
* meteorhacks:npm
* iron-router-active
* ms-seo
* spinner
* email
* accounts-password
* accounts-ui
* LESS
There is no CSS framework because most people use bootstrap and I heavily dislike bootstrap so you can add that yourself if you like it. I recommend you check out http://semantic-ui.com though :).