piazzamp / blog-zone

a simple blogging platform written in Clojure

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

blog-zone

A super-basic blogging platform based on xunawu's clojure webapp tutorial. The tutorial left out a few crucial facets of the application (updating a post, for example) and I tried to add some features like post navigation and commenting. I started this project to learn the basics of clojure / compojure web app development. It is a blast to work on.

####Lessons Learned Getting started with Clojure web applications is about a thousand times faster than Java, even (especially?) when using a Java framework.

####TO-DOs

  • add ability for admins to delete or moderate comments
  • add ability to like comments and posts
    • anonymously
    • with identity
  • get username out of basc authentication header for adding posts and maybe comments
  • normalize comments table and add appropriate joins
  • add links from comments on a user-summary page back to the posts they refer to
  • clean & DRY up views.clj
  • add footer
  • finish comments (add comment page, see all comments by user, etc)
  • favicon!

Prerequisites

You will need

Running

To start a web server for the application, run lein ring server-headless from the blog-zone directory then navigate to localhost:3000 in your favorite browser or whichever port ring tells you that it has started on (you can change this in project.clj)

About

a simple blogging platform written in Clojure


Languages

Language:Clojure 96.1%Language:CSS 3.9%