https://github.com/saifsaidi/litedb.tables
LiteDB.Tables - Display LiteDB Content as Interactive Tables
https://github.com/saifsaidi/litedb.tables
dotnet litedb
Last synced: 7 months ago
JSON representation
LiteDB.Tables - Display LiteDB Content as Interactive Tables
- Host: GitHub
- URL: https://github.com/saifsaidi/litedb.tables
- Owner: SaifSaidi
- License: mit
- Created: 2025-01-17T20:43:21.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2025-01-17T21:31:35.000Z (9 months ago)
- Last Synced: 2025-03-22T02:13:32.660Z (7 months ago)
- Topics: dotnet, litedb
- Language: C#
- Homepage: https://github.com/SaifSaidi/LiteDB.Tables
- Size: 15.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# LiteDb.Tables
- Display litedb as tables or json in **web-based interfaces**.
- Export tables to **Excel**.
- Sort, Search data.## Usage
```bash
// LiteDb.Tables Services
builder.Services.AddLiteDbTables(options =>
{
options.ConnectionString = "Filename=MyDatabase.db;Connection=shared;";
});```
```bash
app.MapLiteDbTables();
```## Endpoints
- /litedb/tables: Get a list of tables with row count and connection string.
- /litedb/tables/json: Get a list of tables in JSON format.
- /litedb/{tableName}/html: Get the table rendered as an HTML page with interactive features.
- /litedb/{tableName}/json: Get the table data in JSON format.## Demo
