Skip to content

InvisibleMan/flocktory_api

Repository files navigation

flocktory_api

Task description: https://gist.github.com/sherpc/22409f4184e039ebbd0ebddd3ee59122

Usage

Launch the application by issuing one of the following commands:

SERVER_HOST=localhost SERVER_PORT=8080 lein run

You can generate a standalone jar and run it:

lein uberjar
java -Dserver.host=localhost -Dserver.port=8080 -jar target/flocktory_api-0.1.0-SNAPSHOT-standalone.jar

Dev

Launch the REPL the following commands:

lein repl
(require '[flocktory_api.service.queue :as q])

Then run server:

(user/go)
(def feed (slurp "./fixtures/scala02.xml"))

Tests

https://stackoverflow.com/questions/21294294/run-tests-from-clojure-repl-and-leiningen

(require '[clojure.test :refer [run-tests]])
(require 'your-ns.example-test :reload-all)
(run-tests 'your-ns.example-test)

License

Copyright © 2020 Denis Larionov

About

Flocktory test case

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published