You need to sign in or sign up before continuing.
clojure-web-application

clojure-web-application

Sample web application built with Clojure

Sample web application built with Clojure

build status

The goal of this project is to make blank web application with authentication and tests. It can be used as template for starting new project on Clojure or for learning Clojure.

Merge requests to this projects are welcome!

Features

  • Registration
  • Login
  • Profile page with ability to remove account
  • PostgreSQL database with migrations
  • Layout with Bootstrap css and jQuery

Screenshot

Just in case you are curious how it looks when started

Screenshot_from_2015-08-09_20_15_52

TODO

  • move details of database connection from user model to somewhere
  • add Remember me checkbox for authentication
  • add Forget password feature
  • add Email confirmation for signup
  • add ability to change name and password in profile

Prerequisites

You will need Leiningen 2.0.0 or above installed.

Running

Install PostreSQL and create database. Details of database connection now are in src/sample/models/user.clj.

createdb sample

Run migrations

lein migratus migrate

To start a web server for the application, run:

lein ring server