Questions tagged [pedestal]

An open source tool set for building web applications in Clojure

Pedestal is a Clojure framework that comes ready-made for developers to solve difficult problems . In a single language, from client to server and back. By providing the leading Clojure web development libraries, Pedestal gives developer the building blocks for robust web applications.

Pedestal gives developers a solid foundation to build highly scalable backend services.

Pedestal is an open framework that gives Clojure developers well-designed libraries to save time and effort.

58 questions
0
votes
1 answer

Endpoint unit testing with Lacinia-Pedestal in Clojure

I have been using Pedestal for RESTful API servers and its endpoint unit testing. This approach is to set the server up and test it on endpoint level. The so-called "endpoint unit testing" is well documented in below…
boingo
  • 1
  • 1
0
votes
0 answers

How to implement camera pedestal movement?

I am a newbie at threejs and customizing some application using threejs. In my job, I have to make a function so called, camera pedestal movement like below https://rawgit.com/nselikoff/basic-camera-movement-three-js/master/index.html Camera…
정준용
  • 21
  • 3
0
votes
3 answers

Pedestal Doesn't serve static resource

I am trying to build on the Pedestal tutorial app available here. I am trying to add cljs functionality and trying to setup a unified clojurescript and clojure environment. My deps.edn file looks as follows: {:paths ["src"] :deps…
0
votes
1 answer

namespace not loaded in clojure pedestal

I am using the beginner guide in the pedestal guide but when trying to use use a namespace (require 'test) I get the following error messge: “Execution error (FileNotFoundException) at user/eval2012 (REPL:1). Could not locate test__init.class,…
0
votes
1 answer

In Clojure, how to unit test an async Pedestal interceptor?

I have an async Pedestal interceptor I want to test: (def my-interceptor (io.pedestal.interceptor/interceptor {:name :my-interceptor :enter (fn [context] (as/go (do (Thread/sleep 1000) …
bfontaine
  • 18,169
  • 13
  • 73
  • 107
0
votes
1 answer

Serving image files from src directory - 404 error

I created a site in Clojure, Pedestal and Boot Cljs. A tutorial I was using was this http://pedestal.io/guides/hello-world-content-types Then I was trying to add an image to the site that was not shown in the tutorial. I put the image a455.jpg to…
trzczy
  • 1,325
  • 2
  • 18
  • 43
0
votes
1 answer

Pedestal component not updating itself after start method

I have the code bellow for my Pedestal component. When Stuart Sierra's library starts my system-map, the method start implemented in the Pedestal defrecord gets called and it returns an updated version of my component with :pedestal-server…
0
votes
1 answer

Generic [/*proxy :any] and specific [/service/x :post..] routes with pedestal clojure server

I'm a newbie with pedestal (pedestal.io) and I am trying to proxy all the requests I get from a browser, except a few specific ones which need some extra interceptors. These are my routes: (def routes #{ ["/*proxy" :any [(proxy-handler…
Dan Bunea
  • 187
  • 1
  • 2
  • 10
0
votes
2 answers

How to use 'after' function to create interceptor in Pedestal

I wish to make a new Pedestal interceptor to be run during the leave stage. I wish to modify the context to add a token string to the base of each html page (for use in 'site alive' reporting). From the Pedestal source code here I see this…
Zuriar
  • 11,096
  • 20
  • 57
  • 92
0
votes
1 answer

What has happened to defbefore in Pedestal interceptors?

I am following this blog post on Pedestal (http://www.rkn.io/2014/08/01/async-interceptors/) which makes reference to io.pedestal.interceptor -> defbefore. Using the latest Pedestal this function/macro is not present. What has become of it? Thanks.
Zuriar
  • 11,096
  • 20
  • 57
  • 92
0
votes
1 answer

No logging for a Clojure app deployed as a WAR to Jetty

I built a WAR file and deploy to Jetty 9 with these WAR-making and deployment steps, which is an adaptation from Pedestal's suggestions. This process has worked for me in the past, but at present, Jetty will not start the application. I also cannot…
David J.
  • 31,569
  • 22
  • 122
  • 174
0
votes
1 answer

How to write tests on clojurescript files pedestal?

I am trying to use TDD while learning pedestal, but I am stuck on how to write and execute tests (lein test) on .cljs files. I can't figure out where the tests would belong, and if it is possible to write theme in simple clojure or if I have to…
Catalyst
  • 3,143
  • 16
  • 20
0
votes
1 answer

Pedestal tutorial throws "Error processing request!" on (start)

I followed the tutorial at https://github.com/pedestal/app-tutorial/wiki/Getting-Started and did the following: mkdir pedestal-app-tutorial cd pedestal-app-tutorial lein new pedestal-app tutorial-client no-comment cd tutorial-client v@mort:$ lein…
droidballoon
  • 720
  • 10
  • 17
1 2 3
4