Skip to content

DH-Center-Tuebingen/dbWebGen-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Demo App for dbWebGen

This is the demo app for dbWebGen. It provides a web based user interface for working with a mock database about buildings, locations and user reviews.

Data Model

The data model of the demo database is depicted in the following ER diagram. The SQL script to create this database is listed in demo_db.sql.

ER Diagram of Demo Database

Screenshots

The following are some screenshots of web pages automatically generated by the dbWebGen engine for this demo database simply by providing adapting the settings file to enable users create, edit, browse, search, and query records in the database. Click the thumbnails to enlarge.

Record List, FilteredEdit a RecordQuery Result Visualized as Bar Chart

Installation

First follow the setup steps for dbWebGen.

Then:

  • Clone this repository into any folder that is served by your web server.
  • Adjust the ENGINE_PATH constant in index.php to point to the folder where in which you cloned the dbWebGen repository.
  • Create a PostgreSQL database called demo on your localhost
  • Run the SQL script in demo_db.sql on that database
  • Direct your browser to the target folder and log in with user test and password test

Releases

No releases published

Packages

No packages published