-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Update example to 3.10.1 and publish readme.
- Loading branch information
Showing
5 changed files
with
99 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
.lowdefy/** | ||
.env |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,29 @@ | ||
# Lowdefy Reporting Example | ||
|
||
This example show patterns that can be used to implement a BI report/dashboard. | ||
This example demonstrate useful paterns for building a BI report/dashboard pages in Lowdefy. It connects to a MongoDB database with the Atlas Movies sample dataset pre-loaded. | ||
|
||
It assumes that it is connected to a MongoDB database with the Atlas sample dataset loaded. | ||
Three additional block types is loaded for this examples: | ||
|
||
- `AmChartsXY` and `AmChartsPie` from [@lowdefy/blocks-amcharts](https://github.com/lowdefy/blocks-amcharts). | ||
- `AgGridAlpine`, from [@lowdefy/blocks-aggrid](https://github.com/lowdefy/blocks-aggrid). | ||
|
||
## Running this example | ||
|
||
- Create a [MongoDB Atlas](https://www.mongodb.com/try) free tier cluster and select to load the sample dataset. | ||
- Add a database user to the MongoDB database and generate a connection uri containing the database username and password. Be sure to create the database user with read privileges for the sample database. Read more about using [the Lowdefy MongoDB connector](https://docs.lowdefy.com/MongoDB). | ||
- Clone this repository. | ||
- Set up a MongoDB Atlas database and set the connection uri as secret `lowdefy_examples_mdb`. | ||
- Run the Lowdefy CLI from the cloned repository. | ||
- Create a `.env` file in your project folder and set your MongoDB database connector URI as a variable in the `.env` file: `LOWDEFY_SECRET_EXAMPLES_MDB="{{ your_mongodb_connection_uri }}"` | ||
|
||
- In the command console, navigate to your project folder and run the Lowdefy CLI: `npx lowdefy@latest dev`. | ||
|
||
## More Lowdefy resources | ||
|
||
- Getting started with Lowdefy - https://docs.lowdefy.com/tutorial-start | ||
- Lowdefy docs - https://docs.lowdefy.com | ||
- Lowdefy website - https://lowdefy.com | ||
- Community forum - https://github.com/lowdefy/lowdefy/discussions | ||
- Bug reports and feature requests - https://github.com/lowdefy/lowdefy/issues | ||
|
||
## Licence | ||
|
||
This example configuration is licensed under the MIT license. See the LICENSE.md file for license rights and limitations. | ||
[MIT](https://github.com/lowdefy/lowdefy-example-reporting/blob/main/LICENSE) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters