Skip to content

monkey-projects/blog-cljs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Monkey Blog (cljs version)

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.

Building

To build the application, run it using shadow-cljs:

npx shadow-cljs compile app

Testing

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

Contributing

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!

About

Full ClojureScript version of Monkey blog app

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published