Skip to content

A Clojure & Clojurescript project to find words (for 2016 Hack the Tower)

License

Notifications You must be signed in to change notification settings

practicalli-johnny/clojure-word-finder

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Clojure Word-finder

A Clojure & ClojureScript application to search for words.

The backend API uses Pedestal-Swagger to serve routes. A lot of code has been influenced by Oliver Hine's SPA-skeleton example.

The ClojureScript front-end UI needs to be implemented.

This project is a work-in-progress; it is some basic infrastructure intended for the January 2016 Hack the Tower event.

Getting started

Clojure backend

To start the backend code, launch a Clojure REPL lein repl (or your preferred method).

Run:

(dev)
;; => #namespace[dev]
(reset)
;; :reloading...

Any changes to the Clojure code can be hot reloaded by running (reset) once again.

You may also run figwheel from the same REPL by running:

(start-figwheel!)
;; to jump into the ClojureScript REPL run:
(cljs-repl)

ClojureScript frontend

Start the ClojureScript frontend by running lein figwheel. If the Clojure REPL is running you may visit either localhost:8080 or localhost:3449 to view the page.

The default ClojureScript build is devcards there is a separate cards.html that will execute this code. See more at the Devcards homepage.

There are some basic Re-frame components already written.

Devcards

The default Clojurescript build is named devcards it plugs-in some extra functionality. To start playing with it, go to localhost:3449/cards.html when you have figwheel running. Any changes to the Clojurescript code should be reloaded in the webpage for you.

Swagger API

There is a pedestal-swagger API located on localhost:8080/api/.

About

A Clojure & Clojurescript project to find words (for 2016 Hack the Tower)

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published

Languages

  • Clojure 96.2%
  • HTML 3.7%
  • CSS 0.1%