Skip to content

cmal/dynamic-ranking

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dynamic-ranking

A demo app using ClojureScript and Re-frame, generated by Luminus.

demo.gif

Prerequisites

You will need Leiningen 2.0 or above installed.

Running

To start a web server for the application, run:

lein run 

Change MV to PE

In the file dynamic-ranking/src/cljs/dynamic_ranking/core.cljs, change

(defn init! []
  (rf/dispatch-sync [:initialize-db])
  (load-interceptors!)
  (fetch-docs!)
  #_(fetch-lowest-pe!)
  (fetch-mv!)
  (fetch-stocknames!)
  (hook-browser-navigation!)
  (mount-components))

to

(defn init! []
  (rf/dispatch-sync [:initialize-db])
  (load-interceptors!)
  (fetch-docs!)
  (fetch-lowest-pe!)
  #_(fetch-mv!)
  (fetch-stocknames!)
  (hook-browser-navigation!)
  (mount-components))

License

Copyright © 2017 joudou.com

About

A clojurescript demo app using re-frame to show a dynamic ranking.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published