This is a full ClojureScript version of Monkey blog app. The blog app is very simple, it allows you to create a new entry for a given date, search the entries and attach images to it. Backend storage is Firebase, which allows to create the app as a ClojureScript-only application. The intention is to make the build process fully ClojureScript as well, using Monkey-CI as a build app.
The application will deploy to the Monkey Blog, and of course this will be fully automated.
To build the application, run it using shadow-cljs:
npx shadow-cljs compile app
You can run the unit tests in the browser, or on the command line:
# Browser testing
npx shadow-cljs watch test
# You can go to http://localhost:8000 to see the results
Running the tests on command line is useful for the CI pipeline:
# First compile to a js file
npx shadow-cljs compile test-ci
# Now run them in node
node out/node-tests.js
You are all free to contribute, but please use test-driven development, 'cause to paraphrase Winston Churchill, it's the least bad way to write software!