Pronghorn
  • Welcome to the Pronghorn docs!
  • Overview
    • Home
    • Downloads
    • FAQs
    • Features
    • Benchmarks
  • Chapter 0: JavaDoc
    • Pronghorn
    • PronghornPipes
    • JPG-Raster
  • Chapter 1: Getting Started with Pronghorn
    • What you need
    • Hello World Example
      • Getting Started
      • The Message
      • The Producer
      • The Stage
      • Connecting the Dots
      • Bonus: Telemetry
  • Chapter 2: Schemas
    • Defining Schemas
  • Chapter 3: Stages
    • Building Stages
    • Notas
  • Chapter 4: APIs
    • Writing to Pipes
  • Chapter 5: Utility Classes
    • Appendables
    • Bloom Filter
    • Trie Parser
  • Chapter 6: Example Projects
    • JPG-Raster
    • Web Cookbook
Powered by GitBook
On this page
  • What is it?
  • Preview
  • What do I need?
  • How to use it
  1. Chapter 6: Example Projects

Web Cookbook

PreviousJPG-Raster

Last updated 6 years ago

What is it?

The web cookbook demonstrates how to perform REST calls, create proxy requests, utilize blocking calls against databases (H2 in this project), and serve files from disk and the resource folder.

Preview

What do I need?

  • Java 8

  • Maven

How to use it

Download the source code on the GitHub page (). Extract the source and place it somewhere with write and read access on your system.

Run the following command in the directory with your source:

mvn install

This will install all the required dependencies. You can then run the cookbook.

Use the “files” or “-f” arguments to specify a folder where your web files are located. By default, it uses the www folder in your HOME environment folder.

here