graal-web-app-example

example web application using HTTP Kit and Reitit compiled with GraalVM

MIT License

Stars
121

A minimal GraalVM Clojure web application:

Postgres with clojure.java.jdbc

Authentication and Sessions

Requirements

Usage

The HTTP port for the application is declared in the config.edn file:

{:port 3000}

Run in dev mode:

lein run

Start the nREPL

lein nrepl

Compile native binary by running:

lein native-image

run the app:

target/app