Skip to content
This repository has been archived by the owner on Mar 1, 2018. It is now read-only.

SparkFund/pedestal-hello-world

Repository files navigation

hello-world-service

A minimal pedestal web app

Getting Started

Via run-dev

  1. Start the application: lein run-dev *
  2. Go to localhost:8080 to see: Hello World!
  3. Read your app's source code at src/hello_world_service/service.clj. Explore the docs of functions that define routes and responses.
  4. Run your app's tests with lein test. Read the tests at test/hello_world_service/service_test.clj.
  5. Learn more! See the Links section below.

* lein run-dev automatically detects code changes. Alternatively, you can run in production mode with lein run.

Via jetty-runner

Jetty-runner tests an actual war artifact inside a jetty server, instead of running with an embedded server.

lein jetty-runner target/hello-world.war

Checking transitive dependencies

Use lein lock to check the calculated dependencies against the stated transitive dependencies.

When updating direct dependencies, generate a new dependencies.lockifle with lein lock freshen and check this file into source control.

Configuration

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.

Links

About

Minimalistic pedestal web app

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published