Giter VIP home page Giter VIP logo

sessiontests's Introduction

SessionTests

Clojure and Clojurescript http-kit server using Chord async websocket and Reagent for dynamic page updates Project also includes a simple navbar and tabbed page using bootstrap

Overview

Template for building interactive web pages with Clojure and Clojurescript

Setup

To get an interactive development environment open a repl, start the http-kit server and start figwheel, helpers are included in the user namespace:

C:\sessiontests>lein repl
...
sessiontests.system=> (ns user)
nil
user=> (reset)
:reloading (sessiontests.gameloop sessiontests.web sessiontests.system user)
Server started on http://localhost:9009
:resumed
user=> (fig-start)

and open your browser at localhost:9009. This will auto compile and send all changes to the browser without the need to reload. After the compilation process is complete, you will get a Browser Connected REPL.

To clean all compiled files:

lein clean

To create a production build run:

lein uberjar

Then start the application

java -jar target\session-standalone.jar

And open your browser at localhost:9009. You will not get live reloading, nor a REPL.

License

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

sessiontests's People

Contributors

danurai avatar

Stargazers

Seçkin Kükrer avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.