Sample web application built with Clojure
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
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

