Skip to content

bnadlerjr/lein-compojure

Repository files navigation

lein-compojure

A Leiningen template for compojure projects.

Features

Generates a compojure project with the following default features:

Usage

lein new bnadlerjr/lein-compojure PROJECT_NAME [+postgresql]

Clojars

  1. Document added, removed, fixed, etc. in CHANGELOG
  2. Update the version in project.clj
  3. git add . && git commit
  4. git tag -a vx.x.x -m "Tag version x.x.x"
  5. git push --tags && git push
  6. lein deploy clojars

TODO:

  • optional cljs support
  • investigate how mount could fit in
  • exception email support; middleware for prod --> maybe segment which can send info to bugsnag or another service? -- actually segment only sends identify to bugsnag, specific bugsnag middleware is still needed (https://github.com/omartell/bugsnag-client-clj/blob/master/src/bugsnag_client/core.clj)
  • optional MongoDB support w/ Monger
  • optional user mgmt. support (users table, queries, templates, login, registration, password reset, forgot password)
  • optional user mgmt. support for OAuth (user table, queries, user creation, login)
  • look into using hooks for DB functions (https://github.com/technomancy/robert-hooke/)
  • CircleCI support
  • better 500 and 404 error handling (default pages? middleware for 500?)

License

Copyright © 2018 Bob Nadler, Jr.

Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.

About

Leiningen template for generating Compojure projects.

Resources

License

Stars

Watchers

Forks

Packages

No packages published