generated using Luminus version "4.14"
Front & back end for checking if a string can be made from letters of another string.
You will need Leiningen 2.0 or above installed.
Alongside shadow-cljs
:
npm install -g shadow-cljs
Don't forget to npm install
before compiling frontend.
To start a web server for the application, run:
lein run
To compile front-end, run:
shadow-cljs release app
To test backend, run:
lein test
You can find the tests in test/clj/scrambles/main
folder.
To test frontend, run:
rm -rf target/cljsbuild/public/js
shadow-cljs release app --config-merge "{:closure-defines {scramblies.main.app/CYPRESS? true}}"
npx cypress run --config video=false
This compiles ClojureScript files with all optimizations, then runs the tests.
You can find the frontend test in cypress/integration/landing/scramble.cljs
Copyright © 2021 Sandu Dorogan