Search⌘ K
AI Features

The Application: Getting Started

Explore the initialization of a bookstore application in Erlang, focusing on starting a supervisor and preparing SQL queries. This lesson helps you understand the setup required for stateful property-based testing in a complex system.

We'll cover the following...

The application

The application just starts a standard supervisor without children. This is how it’s done.

-module(bookstore_app).
-behaviour(application).

%% Application callbacks
-export([start/2, stop/1]).

start(_StartType, _StartArgs) ->
   
...