Michaël Van Canneyt 71f8893366 * Allow to specify DB connection params on command-line преди 2 години
..
cmdclient e32d18977c * Small command-line client that shows how to load data from SQLDB Rest Bridge into TBufDataset преди 6 години
delphiclient e726faca7c * Delphi rest client for REST bridge преди 6 години
readonly 6a36bec296 * Better explanation of connection преди 5 години
.gitignore ddfe51415b * Ignore output programs преди 3 години
README.txt f097158802 * Add database creation and README, and copyright header преди 6 години
demorestbridge.lpi 85860f126f * New laz version преди 3 години
demorestbridge.pp 71f8893366 * Allow to specify DB connection params on command-line преди 2 години
expenses-data.sql f097158802 * Add database creation and README, and copyright header преди 6 години
expenses-fb.sql a5f257ad20 * Firebird sample DB script, same for sqlite преди 6 години
expenses-pq.sql a5f257ad20 * Firebird sample DB script, same for sqlite преди 6 години
expenses-sqlite.sql 67172ef705 * Correct autoincrement handling преди 6 години

README.txt

This is a demo for the SQLDB REST Bridge.

It requires a database. The database can be created using the
expenses-DB.sql file (replace DB with the appropriate type)

Sample data can be inserted with the expenses-data.sql file.

You must edit the program to provide the correct database credentials:
look for the ExposeDatabase() call, and edit the username/password.

You must also change the name and location of the database.

You can also set the port on which the demo should listen for HTTP requests.
By default it is 3000.

The program can save the connection data to an .ini file, run it with -s
myfile.ini. The connection data and database schema will then be saved.

It can pick up the connection data and schema with the -c myfile.ini
command-line options at a next run.


Enjoy !

Michael.