All Projects → luminus-framework → Luminus Template

luminus-framework / Luminus Template

Licence: mit
a template project for the Luminus framework

Programming Languages

clojure
4091 projects

Projects that are alternatives of or similar to Luminus Template

spirit-router
fast router for spirit
Stars: ✭ 28 (-95.07%)
Mutual labels:  webframework
Plover
专注于模块化的NodeJs Web框架
Stars: ✭ 259 (-54.4%)
Mutual labels:  webframework
Macchiato Core
Ring style HTTP server abstraction for Node.js
Stars: ✭ 348 (-38.73%)
Mutual labels:  webframework
koaton
Koaton is a CLI tool that provides a nice starting point for full stack JavaScript Web development with Koa, Ember, and Node.js along with CaminateJS and WebSockets.
Stars: ✭ 28 (-95.07%)
Mutual labels:  webframework
poseidon
A no-dependency, intuitive, and lightweight web framework from scratch in Javascript
Stars: ✭ 41 (-92.78%)
Mutual labels:  webframework
Xweb
High performance async web framework.
Stars: ✭ 314 (-44.72%)
Mutual labels:  webframework
anansi
React web applications for perfectionists with deadlines
Stars: ✭ 35 (-93.84%)
Mutual labels:  webframework
Lithium
Easy to use C++17 HTTP Server with no compromise on performances. https://matt-42.github.io/lithium
Stars: ✭ 523 (-7.92%)
Mutual labels:  webframework
rockgo
Framework for build web application, focus on improve develop speed and software quality.
Stars: ✭ 18 (-96.83%)
Mutual labels:  webframework
Seaside
The framework for developing sophisticated web applications in Smalltalk.
Stars: ✭ 341 (-39.96%)
Mutual labels:  webframework
polix
🚀 Node.js Web Framework
Stars: ✭ 32 (-94.37%)
Mutual labels:  webframework
fullmoon
Fast and minimalistic Redbean-based Lua web framework in one file.
Stars: ✭ 237 (-58.27%)
Mutual labels:  webframework
Fastify
Fast and low overhead web framework, for Node.js
Stars: ✭ 21,489 (+3683.27%)
Mutual labels:  webframework
Ballista
a Express style webframework for Igropyr (Chez Scheme http-server)
Stars: ✭ 15 (-97.36%)
Mutual labels:  webframework
Oatpp
🌱Light and powerful C++ web framework for highly scalable and resource-efficient web application. It's zero-dependency and easy-portable.
Stars: ✭ 4,750 (+736.27%)
Mutual labels:  webframework
darpi
A rust web framework with safety and speed in mind.
Stars: ✭ 32 (-94.37%)
Mutual labels:  webframework
Websauna
Websauna is a full stack Python web framework for building web services and back offices with admin interface and sign up process
Stars: ✭ 259 (-54.4%)
Mutual labels:  webframework
Muffin
Muffin is a fast, simple and asyncronous web-framework for Python 3
Stars: ✭ 538 (-5.28%)
Mutual labels:  webframework
Enferno
A Python framework based on Flask microframework, with batteries included, and best practices in mind.
Stars: ✭ 385 (-32.22%)
Mutual labels:  webframework
Joy
A full stack web framework written in janet
Stars: ✭ 327 (-42.43%)
Mutual labels:  webframework

Luminus-Template

Clojars Project

A Leiningen template for projects using Luminus.

The template initializes a base Luminus application.

Requirements

Luminus requires Leiningen version 2.5.3+

Usage

The Luminus template ships out of the box with your latest Leiningen. Run the following command to create a new Luminus project which uses the default profile template:

lein new luminus <your project name>

However, if you would like to attach further functionality to your template you can append profile hints for these extended features:

Profile Category Description Compare
+aleph server adds the Aleph server diff
+http-kit server adds the fast HTTP Kit web server to the project diff
+immutant server adds the immutant web server to the project. Note: this project is no longer funded/maintained diff
+jetty server adds the jetty web server to the project diff
+undertow server adds the ring-undertow server. This is a default server. diff
+h2 database adds db.core namespace and H2 database dependencies diff
+postgres database adds db.core namespace and PostreSQL database dependencies diff
+mysql database adds db.core namespace and MySQL/MariaDB database dependencies diff
+mongodb database adds support for MongoDB using the Monger library diff
+datomic database adds support for the Datomic database diff
+sqlite database adds support for the SQLite database diff
+graphql service API adds GraphQL support using Lacinia diff
+swagger service API adds support for Swagger-UI diff
+service service API removes static assets and the layout, adds Swagger support diff
+cljs ClojureScript adds ClojureScript support to the project diff
+reagent ClojureScript adds ClojureScript support with Reagent to the project along with an example diff
+re-frame ClojureScript adds ClojureScript support with re-frame to the project along with an example diff
+kee-frame ClojureScript adds kee-frame to the project diff
+shadow-cljs ClojureScript adds shadow-cljs support to the project, replacing the default cljsbuild and figwheel setup diff
+boot misc causes the project to run with Boot instead of Leiningen diff
+auth misc adds Buddy dependency and authentication middleware diff
+auth-jwe misc adds Buddy dependency with the JWE backend diff
+oauth misc adds OAuth dependency diff
+hoplon misc adds ClojureScript support with Hoplon to the project diff
+cucumber misc adds support for browser based UI testing with Cucumber and clj-webdriver diff
+sassc misc adds support for SASS/SCSS files using SassC command line compiler diff
+war misc adds support of building WAR archives for deployment to servers such as Apache Tomcat (should NOT be used for Immutant apps running on WildFly) diff
+site misc creates template for site using the specified database (H2 by default) and ClojureScript diff
+kibit misc adds lein-kibit plugin diff
+servlet misc adds middleware for handling Servlet context diff
+basic misc generates a bare bones luminus project diff

To add a profile simply pass it as an argument after your application name, e.g.:

lein new luminus myapp +cljs

You can also mix multiple profiles when creating the application, e.g.:

lein new luminus myapp +auth +postgres

To build as a executable Java ARchive (JAR) standalone, run the following command:

lein uberjar

Or if using the +boot profile:

boot uberjar

To run the resulting standalone executable .jar file, do as you would with any other:

user$ java -jar target/myapp.jar
15-Sep-14 16:06:21 APc47d.4f39.65e6.uhn.ca INFO [myapp.handler] -
-=[myapp started successfully]=-
16:06:21.685 INFO  [org.projectodd.wunderboss.web.Web] (main) Registered web context /
15-Sep-14 16:06:21 APc47d.4f39.65e6.uhn.ca INFO [myapp.core] - server started on port: 3002

Performance Testing

The app can be stress tested by running the Apache benchmark command:

ab -c 10 -n 1000 http://127.0.0.1:3000/

The memory and CPU usage can be inspected by running either jconsole or jvisualvm and attaching them to a running Luminus server.

Other Templates

There is also a public comparison chart of the common templates.

License

Copyright © 2016 Dmitri Sotnikov

Distributed under the MIT License.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].