Coder Social home page Coder Social logo

pedestal-hello-world's Introduction

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

pedestal-hello-world's People

Contributors

takeoutweight avatar

Watchers

Tim Ewald avatar Alexis Goldstein avatar Brian Runk avatar Nikko Patten avatar James Cloos avatar Sam Hage avatar Emma Mourning avatar Jonathan Duelfer avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.