Basic web app written in Clojure, with authentication, prompted by this discussion.
It uses Postgresql database & Mailgun for email sending.
Create the database:
createdb webapp-dev
Then start the REPL in a way that you like. With Emacs' CIDER you'd do it like this:
M-x [RET] cider-jack-in [RET]
and then at the REPL:
(go)
Then run the migrations:
user> (repl/migrate (ragtime-config "jdbc:postgresql://localhost/webapp-dev"))
Then add a first user:
user> (add-user {:database (:db system) :email "[email protected]" :password "secret"})
Open http://localhost:3000/ and play around the app.