{"id":27890269,"url":"https://github.com/tibcosoftware/js-fdsample","last_synced_at":"2026-03-06T07:02:27.795Z","repository":{"id":56626046,"uuid":"49669233","full_name":"TIBCOSoftware/JS-FDSample","owner":"TIBCOSoftware","description":"Sample web application demonstrating TIBCO Jaspersoft. Try it live at: ","archived":false,"fork":false,"pushed_at":"2020-12-02T11:10:00.000Z","size":9372,"stargazers_count":18,"open_issues_count":26,"forks_count":32,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-10-19T23:59:19.225Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://www.jaspersoft.com/fresh-delivery","language":"CSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TIBCOSoftware.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-01-14T19:18:00.000Z","updated_at":"2023-01-27T16:32:32.000Z","dependencies_parsed_at":"2022-08-15T22:10:39.013Z","dependency_job_id":null,"html_url":"https://github.com/TIBCOSoftware/JS-FDSample","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/TIBCOSoftware/JS-FDSample","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TIBCOSoftware%2FJS-FDSample","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TIBCOSoftware%2FJS-FDSample/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TIBCOSoftware%2FJS-FDSample/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TIBCOSoftware%2FJS-FDSample/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TIBCOSoftware","download_url":"https://codeload.github.com/TIBCOSoftware/JS-FDSample/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TIBCOSoftware%2FJS-FDSample/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30164897,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-06T04:43:31.446Z","status":"ssl_error","status_checked_at":"2026-03-06T04:40:30.133Z","response_time":250,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-05-05T10:46:15.767Z","updated_at":"2026-03-06T07:02:27.735Z","avatar_url":"https://github.com/TIBCOSoftware.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"FreshDeliveryDemo\n=================\n\nThis is a demo site that embeds [JasperReports Server](http://www.jaspersoft.com) using the [Visualize.js](http://community.jaspersoft.com/project/visualizejs) framework\n\nLive Demo: \u003ca\u003ehttps://www.jaspersoft.com/fresh-delivery\u003c/a\u003e\n\nAuthor(s): Daniel Petzold, Sherman Wood, Mariano Luna, Peter Mcrae\n\nDemo Version: 4.0\n\nDescription\n---------------\nThe sample is designed to showcase the features of TIBCO Jaspersoft's embedded analytics framework and highlights Visualize.js.\nI've used a set of reports that are included in this sample that depend on the Foodmart Sample dataset that is provided in the standard trial installation of JasperServer Professional.\n\nEssentially this is a demo app (Fresh Delivery) with a set of reports integrated within. It runs form a WebServer since it only uses HTML and Javascript so there is no specific requirements for the webserver. If you would like to use a hosted version of this application, please visit: \u003ca href=\"https://www.jaspersoft.com/fresh-delivery\"\u003ehttps://www.jaspersoft.com/fresh-delivery\u003c/a\u003e\n\nRequirements / Dependencies\n---------------\n- A [JasperReports Server v6+](http://www.jaspersoft.com/three-ways-test-drive-jaspersoft-bi-software) installed\n- A web server to host this sample. I use Apache HTTPD but you can use any that you like.\n\nInstallation Steps\n---------------\n1. Unzip the release (or clone the repo) into your web server's web root. The instructions assume that this location is called 'FRESHDELIVERY_PATH'\n1. Import /JapserServerResources/repoExport.zip to your JasperReportsServer 6+ Pro instance. [Check this link if you do not know how.](http://community.jaspersoft.com/documentation/jasperreports-server-administration-guide-beta/import-and-export-through-web-ui#import-export_2353750880_1044705) and if you like the command line go to your JRS buildomatic folder and just `./js-import.sh --input-zip FRESHDELIVERY_PATH/JasperServerResources/repoExport.zip`\n1. Modify your jasperreports.properties to allow JavaScript functions in the HTML5 Charting Library\n\t1. Locate your jasperreports.properties in JasperReportsServer  `\u003ctomcat-home\u003e/webapps/jasperserver-pro/WEB-INF/classes/jasperreports.properties`\n\t1. Add this line at the end of the file:  `com.jaspersoft.jasperreports.highcharts.function.properties.allowed=true`\n1. This sample needs to add Lat/Long coordinates to the store table on the foodmart database\n\t1. the sql file with this changes is located in the repo FRESHDELIVERY_PATH/JasperServerResources/foodmart-store-update.sql\n\t1. use that sql script to update your DB, at the command prompt (using default username and port, this may change for you): `psql -p 5432 -U postgres -d foodmart -a -f FRESHDELIVERY_PATH/JasperServerResources/foodmart-store-update.sql` \n1. The pages expect JasperServer to be accessible in `http://localhost:8080/jasperserver.pro` since that is normally not the case you will need to change this. For example if your jasperserver is located in `http://my.jasperserver.com:8080/jasperserver.pro` just open a terminal and enter:\n```\n$ sed -i 's~localhost~my.jasperserver.com~' /var/www/html/freshdelivery/go-green.html\n$ sed -i 's~localhost~my.jasperserver.com~' /var/www/html/freshdelivery/top-sellers.html\n$ sed -i 's~localhost~my.jasperserver.com~' /var/www/html/freshdelivery/healthy-choices.html\n```\n1. The script is hardcoded to login using joeuser/joeuser if you need to change this, do so in `/config/config.json`\n1. Go to http://\u003cyour-server\u003e/JS-FDSample/ \n1. Enjoy!!!\n\n### How to turn off the chart selector icon for specific charts in JRS\n- In JSS go to the main properties panel and on the Property Expressions select the \"…” button.\n- Select Add and for the Property Name use: com.jaspersoft.jasperreports.highcharts.interactive\n- Set the value to `true`. Do not select “use an Expression” unless you are going to use one for setting this property.\n\n\nLICENSE AND COPYRIGHT NOTIFICATION\n==================================\n\n Copyright (C) 2005 - 2018 Jaspersoft Corporation - All rights reserved.\n\n Unless you have purchased a commercial license agreement from Jaspersoft,\n the following license terms apply:\n\n This program is free software: you can redistribute it and/or modify\n it under the terms of the GNU Affero General Public License as\n published by the Free Software Foundation, either version 3 of the\n License, or (at your option) any later version.\n\n This program is distributed in the hope that it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n GNU Affero  General Public License for more details.\n\n You should have received a copy of the GNU Affero General Public  License\n along with this program. If not, see \u003chttp://www.gnu.org/licenses/\u003e.\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftibcosoftware%2Fjs-fdsample","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftibcosoftware%2Fjs-fdsample","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftibcosoftware%2Fjs-fdsample/lists"}