Skip to content

A recipe for building AWS Lambdas using plain clojure

Notifications You must be signed in to change notification settings

juxt/plain-clojure-lambda

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JVM Clojure lambda setup w/ Reitit handler for function URLs

Setup

To install the javascript dependencies:

$ yarn install

Build

To build an uberjar:

$ clj -T:build uber

Then upload the target/lambda-*.jar to your lambda function and off you go!

To use, create a function URL then visit the given url.

Dev

To develop this locally, start shadow-cljs:

$ npx shadow-cljs watch app

Then either start your repl in the ordinary way (using the :dev alias) or connect to the repl that shadow-cljs opens.

You can then execute (user/go!) to start or restart a local webserver on http://localhost:8000

About

A recipe for building AWS Lambdas using plain clojure

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published