if(!database.connected()) { redirect("start.html"); }

# Welcome to Bill's Video Rentals

This is a sample application to show off the database connectivity features of LiveWire. The entire application was created in a couple of hours using existing sample tables. All query results from the database are generated dynamically (and quickly) using LiveScript.

This sample illustrates the use of a web-based application to perform both administrative and consumer tasks. The top set of links provide the types of services a customer might use, such as renting a video. The bottom set of links provide services that the rental store staff might use, such as adding and removing customers.

Note: For best results, use Add New Customer in the administrative functions (below) before trying to rent a movie.

## Customer Functions

- Rent a Movie
- Show Current Rentals

## Administrative Functions

- Customer List
- Add New Customer
- Show/Return Rentals