Giter Club home page Giter Club logo

bloggo's Introduction

bloggo

Revel example blogging application. This requires a mongo db server, the defaults are detailed below. See the documentation for revmgo for more additional configuration options.

This is meant to be an example blogging application for the awesome revel framework See the related discussion in the revel framework users group.

Example users and content

Bloggo ships with two default user accounts and a few articles. You can log in as either 'Jane Doe' or 'John Doe' by using [email protected] or [email protected] respectively with the password 12341234 for either user account.

Configuration

Database

The database is configurable via the app.conf directive bloggo.db if you do not set this it will default to "bloggo"

bloggo.db = bloggo

Collections

Revel models correspond to mongo collections. By default the collection name defaults to the model name eg. Article uses the "Article" collection in mongodb. If you want to store the model data in a different collection use the following config one per model type.

bloggo.db.collection.MODEL_NAME = "COLLECTION_NAME"

eg.

bloggo.db.collection.Articles = "articles"

Admin User

The admin user can be set via app.conf, with the directive bloggo.admin default this ships with it set as 'Jane Doe' one of the default users. The value is set to the mongo _id value of the user account that should be considered as the admin account.

eg.

bloggo.admin = "51e9aa4049a1b716bb000003"

TODO/Roadmap

  • User Landing pages
  • User Management
    • Creating accounts: limit to just the admin account
    • Reset Password
    • Locale
    • Timezone
    • Profile pictures
    • Deleting accounts: limit to just the admin account, and block deleting own account
  • Aritcles
    • Published/unpublished
    • Content pager
    • Article Pictures
  • Code Review & Refactoring
    • Rework any flakey abstractions
    • Fix templates so that there are no hanging tags
    • Determine how code can be better re-used.
      • Template helper functions
      • App config for date formatting
  • Internationalization show examples of UI/UX changing based on user settings
  • Search

bloggo's People

Contributors

jgraham909 avatar cryptix avatar sugarb avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.