re-frame-firebase-example
re-frame-firebase-example copied to clipboard
Example project using Reagent / Re-Frame and Matchbox / Firebase for a realtime chat.
Minimal Chat
Example project using ClojureScript, Reagent (Re-Frame) and Firebase (Matchbox) as the basis for creating a persistent, server-less, client-side chat client.
Getting Started
- Sign up for a firebase.com account.
- Make a Firebase application.
- Clone the project.
- Change
firebase-io-root
incore.cljs
to have the URL for your Firebase application. - Run
lein figwheel
in the project root to start up a local webserver. - Point your browser to http://localhost:3449 and start playing around in the code!
Developing
To start a local server that causes CSS and ClojureScript changes to
be reflected immediately in your browser run lein fighweel
and open
up http://localhost:3449
To run the ClojureScript tests run lein auto-test
. It will recompile
the ClojureScript and rerun the tests whenever a file changes.
Acknowledgement
This project is a fork of Jake's Clojurescript Firebase Chat Example.
License
Distributed under the MIT License. Copyright (c) 2015 Paul Lam.