ServerPages : Easily add server pages to your meteor app

Meteor is great for SPA - but many projects also have a few more static pages - which require fast load times, SEO etc - which is surprisingly difficult to do with meteor.

I created a package called ServerPages - to streamline this development and deployment.
https://atmospherejs.com/viloma/server-pages

You can put your templates in .spages/templates and static files in .spages/public folder under root.

  • The package - loads the templates, supports rendering and packages the files into build.
  • It makes development of server side components easier - by preventing restart on every change.
  • It also gives access to an indicative userId - not to be used for sensitive information / transactions.

It uses meteorhacks:ssr and uses ideas from staticserver .