This repository contains two products which are dependent of each other and may be considered to be two parts of a single product:
- SFRODB
- SFHS
The first one is the Simple File Read-Only DataBase.
The second one is the Static Files HTTP Server.
The second product is an HTTP front-end part for the SFRODB database.
Each of these two products has its own description file.
Please, do note that earlier in the past time, SFRODB and SFHS were stored in two separate repositories. At present time, two these inter-dependent products are stored in a single repository. All files of the SFHS repository were merged into the SFRODB repository.
-
First of all, you need to build both of the parts: the back-end part and the front-end part. Use the provided build scripts in the root folder of this repository:
build_SFRODB.bat
andbuild_SFHS.bat
. -
In the
_build_
folder, which was created, first start the back-end part (_build_\SFRODB\server.exe
), then start the front-end part (_build_\SFHS\server.exe
). If you have any other services already running on the default ports of the SFRODB and SFHS servers, an error will be shown. -
Open your favourite web browser at the following address:
http://localhost/sample
. A built-in sample JSON file (sample.json
) will be fetched by the browser and shown on the screen.