Giter Site home page Giter Site logo

laurio / pedestal-workshop Goto Github PK

View Code? Open in Web Editor NEW

This project forked from avescodes/pedestal-workshop

0.0 2.0 0.0 439 KB

Checkpoints and exercises for "Web Apps on a Pedestal"

Home Page: https://speakerdeck.com/rkneufeld/web-apps-on-a-pedestal

License: Eclipse Public License 1.0

pedestal-workshop's Introduction

Todo-it

Todo-it is a sample Pedestal application developed from scratch. Read more information below, or in the accompanying slides.

Usage

Pre-requisites

  • Install JDK 7+
  • Install the Leiningen build tool
  • Clone this repository (git clone https://github.com/rkneufeld/pedestal-workshop)

Running the application

Inside pedestal-workshop/, run the command lein run. The first time you run this command Leiningen will fetch and install all of the application's dependencies.

Once the application starts, you will see something like the following:

$ lein run
INFO  org.eclipse.jetty.util.log - Logging initialized @10299ms
INFO  org.eclipse.jetty.server.Server - jetty-9.1.3.v20140225
INFO  o.e.j.server.handler.ContextHandler - Started o.e.j.s.ServletContextHandler@6d0433ee{/,null,AVAILABLE}
INFO  o.e.jetty.server.ServerConnector - Started ServerConnector@32af198c{HTTP/1.1}{0.0.0.0:8080}
INFO  org.eclipse.jetty.server.Server - Started @10431ms

At this point, the application is ready. Visit or cURL http://localhost:8080/hello to verify the application is running properly (all but the very first commit should respond).

If you've built or checked-out the final version of the application, visit http://localhost:8080/todos to see it in action.

Screenshot of the finished application

Following along with the workshop

The slides for following along with this workshop are available at https://speakerdeck.com/rkneufeld/web-apps-on-a-pedestal.

Branches exist for each exercise, allowing you to git checkout checkpoint-x and start with a clean, working state.

Checkpoint branches are:

License

Copyright © 2014 Ryan Neufeld

Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.

pedestal-workshop's People

Watchers

Lauri Oherd avatar James Cloos 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.