An micro-web framework written in Clojure
- A router
- Views in Clojure
- View rendered to HTML (with binding)
- Route matching
- All verb support and filtering (GET, PUT, POST, DELETE)
- Bootstrap to run locally
- Template binding with Semler
- Middleware integration
- Template binding through requests
Run project
❯ lein run
2022-01-10 10:36:33.887:INFO::main: Logging initialized @1563ms to org.eclipse.jetty.util.log.StdErrLog
2022-01-10 10:36:34.967:INFO:oejs.Server:main: jetty-9.4.42.v20210604; built: 2021-06-04T17:33:38.939Z; git: 5cd5e6d2375eeab146813b0de9f19eda6ab6e6cb; jvm 11.0.12+0
2022-01-10 10:36:35.052:INFO:oejs.AbstractConnector:main: Started ServerConnector@3a0896b3{HTTP/1.1, (http/1.1)}{0.0.0.0:8080}
Hit test endpoint
❯ curl http://localhost:8080/test
<html><body>"Hello Dane!"</body></html>
Hit non-existent endpoint
❯ curl http://localhost:8080/moo
Not Found%
Run tests with Lein or Cider.
❯ lein test
`