https://github.com/boechat107/clj-scrambled
Toy application to check if a scrambled string can form a word.
https://github.com/boechat107/clj-scrambled
clojurescript reagent single-page-app toy-project
Last synced: about 2 months ago
JSON representation
Toy application to check if a scrambled string can form a word.
- Host: GitHub
- URL: https://github.com/boechat107/clj-scrambled
- Owner: boechat107
- Created: 2021-07-13T23:12:33.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2021-07-30T13:02:42.000Z (almost 5 years ago)
- Last Synced: 2025-01-21T13:26:20.216Z (over 1 year ago)
- Topics: clojurescript, reagent, single-page-app, toy-project
- Language: Clojure
- Homepage:
- Size: 33.2 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# clj-scrambled

A simple web application for checking if one string could be
rearranged into another.

## Requirements
* JVM (tested with openjdk 11)
* Clojure [command-line tools](https://clojure.org/guides/deps_and_cli)
## Running
``` bash
clj -M:cljs -co ./cljs_prod.edn --compile
clj -M -m scrambled-server [port]
```
## Testing
``` bash
clj -M:test
```
## Development
Compile Clojurescript files and watch for changes:
``` bash
clj -M:cljs -co ./cljs_dev.edn -w src --compile
```
Start the web server:
``` bash
clj -M -m scrambled-server [port]
```
## Known Issues - Improvements
* Improve the Cljs development environment with hot-reloading (figwheel)
* Use browser automation (or some [jsdom](https://github.com/jsdom/jsdom))
to test the front-end working with the server.
* Uberjar generation for deployment.