2
0
michael f097158802 * Add database creation and README, and copyright header 6 жил өмнө
..
delphiclient e726faca7c * Delphi rest client for REST bridge 6 жил өмнө
README.txt f097158802 * Add database creation and README, and copyright header 6 жил өмнө
demorestbridge.lpi 2845fabd02 * Add SQLDB Rest Bridge 6 жил өмнө
demorestbridge.pp f097158802 * Add database creation and README, and copyright header 6 жил өмнө
expenses-data.sql f097158802 * Add database creation and README, and copyright header 6 жил өмнө
expenses-pq.sql f097158802 * Add database creation and README, and copyright header 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.