A tiny Clojure project about data processing. The project has a several main points:
- Send requests (based on query params) to the Bing Search Sevice
- Process the responses
- Calculate some statistics and return it back to the user
After downloading the repository, the application can be launched as follows:
> lein deps
...
> lein run
Also, the tests can be lounched as follows:
lein test
To get results use follow command:
curl http://localhost:8080/search\?query\=haskell\&query\=scala\&query\=clojure\&query\=lisp
Needs a Java 10+ and JDK 10+
Dependencies list:
http-kit "2.2.0"
- lightweight server (link)compojure "1.6.0"
- router (link)com.climate/claypoole
- threadpool tools (link)org.clojars.scsibug/feedparser-clj "0.4.0"
- rss feed parser (link)org.clojure/data.json "0.2.6"
- json tools (link)hiccup "1.0.5"
- html tools (link)
Copyright © 2018 Aleksei Petrov
Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.