2019独角兽企业重金招聘Python工程师标准>>> Luminus模板可选项-编程知识网

lein new luminus project-name +http-kit +h2 +auth +sassc +swagger +kibit

  • +aleph server 服务器
  • +auth buddy验证框架
  • +cljs
   ['org.clojure/clojurescript "1.7.170" :scope "provided"]['reagent "0.5.1"]['reagent-forms "0.5.13"]['reagent-utils "0.1.5"]['secretary "1.2.3"]['org.clojure/core.async "0.2.371"]['cljs-ajax "0.5.1"]
  • +cucumber 自动化测试工具
:plugins [['org.clojars.punkisdead/lein-cucumber "1.0.4"]]
:dev-dependencies [['org.clojure/core.cache "0.6.3"]['org.apache.httpcomponents/httpcore "4.4"]['clj-webdriver/clj-webdriver "0.6.1"]]
  • +postgres
['org.postgresql/postgresql "9.4-1203-jdbc41"]
  • +mysql
['mysql/mysql-connector-java "5.1.34"]
  • +mongodb
['com.novemberain/monger "3.0.0-rc2"]
  • +h2
['com.h2database/h2 "1.4.188"]
  • +sqlite
['org.xerial/sqlite-jdbc "3.8.11.1"]
  • +http-kit

Server服务器

['http-kit "2.1.19"]
  • +immutant

Server服务器

['org.immutant/web "2.1.1":exclusions ['ch.qos.logback/logback-classic]]
  • +jetty

Server服务器

['cc.qbits/jet "0.6.6"]
  • +kibit

静态代码分析

['lein-kibit "0.1.2"]
  • +sassc
['lein-sassc "0.10.4"]
  • +site
+cljs "+h2" "+mysql" "+postgres"
  • +swagger
['metosin/compojure-api "0.24.0"]
['metosin/ring-swagger-ui "2.1.3-2"]
  • +war
['lein-uberwar "0.1.0"]

###一个标准Luminus项目包含的库:

[org.clojure/clojure "1.7.0-RC1"]    ; clojure
[selmer "0.8.2"]                     ; html模板
[com.taoensso/timbre "3.4.0"]        ; 日志
[com.taoensso/tower "3.0.2"]         ; i18n L10n
[markdown-clj "0.9.66"]              ; markdown
[environ "1.0.0"]                    ; 环境变量
[compojure "1.3.4"]                  ; ring路由
[ring/ring-defaults "0.1.5"]         
[ring/ring-session-timeout "0.1.0"]
[metosin/ring-middleware-format "0.6.0"]
[metosin/ring-http-response "0.6.2"]
[bouncer "0.3.3"]                     ; 校验
[prone "0.8.2"]                       ; ring异常报告
[org.clojure/tools.nrepl "0.2.10"]    ; nrepl
[ring-server "0.4.0"]                 ; 基于jetty的web服务器

###+cljs clojurescript

;新增库
[org.clojure/clojurescript "0.0-3308" :scope "provided"]
[org.clojure/tools.reader "0.9.2"]
[reagent "0.5.0"]
[cljsjs/react "0.13.3-0"]
[reagent-forms "0.5.1"]
[reagent-utils "0.1.4"]
[secretary "1.2.3"]
[org.clojure/core.async "0.1.346.0-17112a-alpha"]
[cljs-ajax "0.3.13"]

###+site+cljs

###+h2 h2database

[ragtime "0.3.9"]                 ; 结构化数据迁移
[org.clojure/java.jdbc "0.3.7"]   ; jdbc
[instaparse "1.4.0"]              ; 语法分析
[yesql "0.5.0-rc2"]               ; SQL
[com.h2database/h2 "1.4.187"]     ; H2dababase

###+postgres postgres

[ragtime "0.3.9"]
[org.clojure/java.jdbc "0.3.7"]
[instaparse "1.4.0"]
[yesql "0.5.0-rc2"]
[org.postgresql/postgresql "9.3-1102-jdbc41"] ; PostgreSQL

###+dailycred 和普通项目一样

###+mysql 支持mysql

[ragtime "0.3.9"]
[org.clojure/java.jdbc "0.3.7"]
[instaparse "1.4.0"]
[yesql "0.5.0-rc2"]
[mysql/mysql-connector-java "5.1.6"]  ;MySQL

###+http-kit http-kit

#_[ring-server "0.4.0"] ;移除
[http-kit "2.1.19"]               ; web服务器

###+cucumber 和普通项目一样

###+mongodb mongoDB

[com.novemberain/monger "2.0.1"]   ; MongoDB客户端

###+auth auth

[buddy "0.5.4"]               ; 安全验证

###+immutant immutant

#_[ring-server "0.4.0"] ;移除
[org.immutant/web "2.0.1"]

###+sassc sass

;; :plugins
[lein-sassc "0.10.4"]

###+swagger swagger-ui

[metosin/compojure-api "0.21.0"]
[metosin/ring-swagger-ui "2.1.1-M2"]

###+aleph aleph

#_[ring-server "0.4.0"] ;移除
[aleph "0.4.0"]                   ; 异步通信

转载于:https://my.oschina.net/u/580483/blog/467696