This is a sample Pedestal service project, demonstrating the use of Friend's interactive form workflow.
- Start the application:
lein run-dev
* - Go to localhost:8080 to see:
Hello World!
- Follow the link to the protected page.
- Login when asked. Try root/clojure as soon as you get bored.
- Read the app's source code at src/friend_form_sample/service.clj. Explore the docs of functions that define routes and responses.
* lein run-dev
automatically detects code changes. Alternatively, you can run in production mode
with lein run
.
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.