Skip to content

vutran1710/ClojuricWeb

Repository files navigation

HttpClojuric

Content

Introduction

Testing webserver with HTTPKit and Reitit, versus some other frameworks

Get it up

Prerequisites: Java 8 or 11

Install all the deps

$ lein install

Running in DEVELOPMENT mode

$ lein run

Running in PRODUCTION mode

Build the jar

$ lein uberjar
# ...
# Compiling webapp.core
# Created /<proj-dir>/target/webapp-0.1.0-SNAPSHOT.jar
# Created /<proj-dir>/target/webapp-0.1.0-SNAPSHOT-standalone.jar

Run the jar file with proper ENV

$ CLJ_ENV=production java -jar target/webapp-0.1.0-SNAPSHOT-standalone.jar

Benchmarking

Refer to https://github.com/vutran1710/Benchmarker

About

Clojure web server with HTTPKit and Reitit

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published