Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sample Clojure web app

Basic web app written in Clojure, with authentication, prompted by this discussion.

It uses Postgresql database & Mailgun for email sending.

Usage

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 "foo@bar.com" :password "secret"})

Open http://localhost:3000/ and play around the app.

About

No description, website, or topics provided.

Resources

Stars

8 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages