usood / singularity

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Meteor Material Blog

This is boilerplate Meteor Material blog designed for anyone to start their own blog. This is still in a work in progress and contributions are welcome. You can see an example at http://material-blog.meteor.com/

Updates (Oct 9th, 2015)

  • Upgraded Meteor to 1.2 (thanks to contribution by fabiomirandaa)
  • Update all packages
  • Added wysiwyg editor
  • Sanitize html on server

Features

  • Material Design
  • Slug-based URLs (editable)
  • Multiple roles (admin/author)
  • Admin dashboard
  • Add and delete users
  • Comments

Setup

  1. Clone the repository
  2. Add the required Meteor packages
meteor add iron:router
meteor add accounts-password
meteor add materialize:materialize
meteor add reactive-var
  1. In server/main.js uncomment the code. Enter your account info then start meteor. This will create an initial admin account. New users can then be added in the admin dashboard at http://localhost:3000/admin

Usage

Admin:

The admin dashboard area is at /admin and can only be access via a logged in user. Any user can create a post but only the admin can create new users. The authentification is verified via a roles: 'admin' attribute on the user account.

The admin can view, edit, and delete all posts.

Author:

All users with roles: 'author' can create new posts and edit their own posts. Authors cannot create new users.

WIP

  1. Comment system (done but needs login requirement)
  2. Post tags and searching
  3. Widgets
  4. Pagination

About


Languages

Language:HTML 52.3%Language:JavaScript 41.7%Language:CSS 6.0%