This sample demonstrates using Pedestal with a custom backend server. Interceptor Chain Providers allow Pedestal to be used on top of any HTTP Server that's supported on the JVM.
- Start the application:
- Go to localhost:8080 to see:
- Read your app's source code at src/nio/service.clj. Explore the docs of functions that define routes and responses.
- Run your app's tests with
lein test. Read the tests at test/nio/service_test.clj.
- Learn more! See the Links section below.
lein run-dev automatically detects code changes. Alternatively, you can run in production mode
To configure logging see config/logback.xml. By default, the app logs to stdout and logs/. To learn more about configuring Logback, read its documentation.
Copyright 2016 Cognitect, Inc.
The use and distribution terms for this software are covered by the Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0) which can be found in the file epl-v10.html at the root of this distribution.
By using this software in any fashion, you are agreeing to be bound by the terms of this license.
You must not remove this notice, or any other, from this software.