Skip to content

Front & back end for checking if a string can be made from letters of another string.

Notifications You must be signed in to change notification settings

sandudorogan/scramblies

Repository files navigation

scramblies.main

generated using Luminus version "4.14"

Front & back end for checking if a string can be made from letters of another string.

Prerequisites

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.

Running

To start a web server for the application, run:

lein run 

To compile front-end, run:

shadow-cljs release app

Testing

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

License

Copyright © 2021 Sandu Dorogan

About

Front & back end for checking if a string can be made from letters of another string.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published