A re-frame single page application designed to store TrackMania records in real-time on a Firebase database.
Alpha preview is available here : https://tmrecords-fa4b2.firebaseapp.com/
-
Google authentication to login and to implement some role based functionnalities -
Submit a score from the application (with an input form at first, then use image upload later for proof or even the replay.gbx with some kind of client side parsing) -
Add gbx links to the tracks(plumbing is done, still need to populate the database now) -
Further CSS polishing(mark as done even if there is always room for improvemet) -
The about page should have the same header and footer as the home page -
add a customized view for a connected user (with user centric statistics, graphs ?)
-
tracks gallery (with image preview ? animated gif ?)
-
allow the players to vote for their favorite tracks
-
improve olympic ranking subscriptions. Do not return functions as subscriptions output. do the heavy computation in the subscription, not in the view.
Put this in your Emacs config file:
(setq cider-cljs-lein-repl
"(do (require 'figwheel-sidecar.repl-api)
(figwheel-sidecar.repl-api/start-figwheel!)
(figwheel-sidecar.repl-api/cljs-repl))")
Navigate to a clojurescript file and start a figwheel REPL with cider-jack-in-clojurescript
or (C-c M-J
)
lein do clean, figwheel
Figwheel will automatically push cljs changes to the browser.
Wait a bit, then browse to http://localhost:3449.
To compile Clojurescript to Javascript:
lein do clean, cljsbuild once min
To deploy to firebase (remember to change the API credentials to use your own):
firebase deploy