Skip to content
Ryan Neufeld edited this page Jul 6, 2013 · 39 revisions

Pedestal-App Tutorial

In this tutorial we will build an interesting pedestal-app application together. During this process you will be exposed to all of the major pedestal-app concepts in the context of solving some (almost) real problems. This will help you to see not only how things work, but why they work the way they do.

By the end of Part 2 of this tutorial, you will have created an interactive game and learned how to wield pedestal-app in your own projects. We also hope that you will know enough about how pedestal-app works and what its goals are so that you can give useful feedback and contribute to the project.

Each section of the tutorial will describe a few key concepts of pedestal-app while making a small improvement to the application. Part 1 will start very slowly with small code changes and lots of explanation. Each section of Part 2 will contain more code and move a lot faster.

To get the most out of this tutorial, you must follow along. The finished code for each section is tagged--if you're starting somewhere other than the first section, check out the tag for the previous section first.

Some sections of the tutorial are marked Designer and Back-end. If you are interested in all of Pedestal then go through each section. If you don't care about making templates, skip the Designer sections. If you don't care about back-end development then skip the Back-end section. Just remember, each section builds on code from the previous section, so if you skip one, make sure to check out the tag for the last section you skipped before continuing.

Part 1

Build a very simple application while learning the basics of pedestal-app.

Part 2

Transform the application created in Part 1 into an interactive game while learning advanced pedestal-app concepts.

Other Topics

Future Tutorials

  • Describe what is included in the generated files
  • Starting from scratch - show how to get started without using the generated files
  • Using pedestal-app with lein cljs-build