SparkJava: 02

Deploying the Library Tutorial App on Heroku

sparkjava-02

Part of a series of tutorial articles on building webapps with SparkJava.

Code examples referred to on this page can be found here: https://github.com/ucsb-cs56-pconrad/spark-basic-structure

A (more or less) full web app example

The repo linked to is a clone of the repo https://github.com/tipsy/spark-basic-structure.

This application is described in detail in the tutorial Creating a library website with SparkJava.

You are encouraged to create a fork of my fork of that app (i.e. the one with the extra stuff to deploy easily on Heroku), clone it, and play around with the code as you read through the Creating a library website with SparkJava tutorial.

As the introduction to that tutorial says (emphasis and bulletting added):

That is what I recommend that you do next. Then, we’ll start with our basic sparkjava-01 app and add each of those things to it, one at a time, so that you get a sense of how each of those works.

On website: https://ucsb-cs56-pconrad.github.io/tutorials/sparkjava_02