Example application with the login
Clojure HTML CSS
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
resources/public
src/keechma_login
.gitignore
README.md
project.clj

README.md

keechma-login

This application shows how to use the Keechma framework to handle the login workflow.

It achieves that by splitting the application in two apps:

  • Session app - Takes care of the login
  • Main app - Implements the application logic

When the user is logged in the session app will mount the main application inside itself - at that moment, two applications will be running at once. Each application will have it's own app state and run completely independently from the other.

This is possible because there are no shared globals in Keechma.

Read the annotated source.

Setup

Make sure you have Leiningen installed.

Clone the repo:

$ git clone https://github.com/keechma/keechma-todomvc.git
$ cd keechma-todomvc

To get an interactive development environment run:

lein figwheel

and open your browser at localhost:3449. 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.

License

Copyright © 2016 Mihael Konjevic

Distributed under the MIT License.# keechma-login