An open API service indexing awesome lists of open source software.

https://github.com/borkdude/simple-cljs-examples

Curated list of ClojureScript sample applications suited for those starting with ClojureScript
https://github.com/borkdude/simple-cljs-examples

Last synced: 9 months ago
JSON representation

Curated list of ClojureScript sample applications suited for those starting with ClojureScript

Awesome Lists containing this project

README

          

Simple ClojureScript Examples
=============================

Curated list of ClojureScript sample applications suited for those starting with ClojureScript

For newcomers to ClojureScript I think it is important to have working examples that are insightful and educating.

Preferably the examples meet the following requirements:

* short and simple (not thousands of lines of code)
* easy to understand for total beginners with ClojureScript
* easy to run when following steps documented in README

For example:
* `lein cljsbuild once`
* `open index.html`

* not dependent on too many third party libraries
* well maintained

Examples that don't work with a recent version of `lein cljsbuild` and ClojureScript will be notified or removed.

The examples I collected so far (with the help of the people on the [ClojureScript](https://groups.google.com/forum/#!topic/clojurescript/84nnVJ2OLvU) mailing list):

## Vanilla ClojureScript

* [TodoMVC](https://github.com/dfuenzalida/todo-cljs) - port of [vanilla JavaScript TodoMVC](http://todomvc.com/examples/vanillajs/)
* [json-html](https://github.com/yogthos/json-html) - JSON/EDN to HTML formatter
* [Tetris](https://github.com/yogthos/Clojure-Tetris) - Clojure/Script Tetris

## React based
* [T3TR0S](https://github.com/shaunlebron/t3tr0s-slides) - Tutorial slides about how to create Tetris in ClojureScript + [Om](https://github.com/swannodette/om)
* [TodoMVC](https://github.com/reagent-project/reagent-core/tree/master/examples/todomvc) - Reagent port of TodoMVC
* [QSnake]( https://github.com/piranha/qsnake) - Made with [Quiescent](https://github.com/levand/quiescent)