Forum Discussion
Connect to data base
Hello everyone,
I would like to know if my storyline project can be connected to a database and if it is possible, do you know how?
- MathNotermans-9Community Member
Yes, with Javascript. Easiest with Google Firebase and Firestore. And i do know how... check my samples... a lot work like that... This sample you can upload and change the image and text. Both are stored in Google Firebase.
Both Image and text can be saved and read.
https://360.articulate.com/review/content/3f505dc1-f51d-4185-bf5a-4cc886ffea54/review - ITMitrCommunity Member
Please provide a source file for this output
https://360.articulate.com/review/content/3f505dc1-f51d-4185-bf5a-4cc886ffea54/review- MathNotermans-9Community Member
I gladly help you with any project.
- MichaelDufour-7Community Member
Making Firestore work with my Scorm is interesting, though the scripts imports in the index html file are failing (I'm trying with this :
<script src="https://www.gstatic.com/firebasejs/11.3.0/firebase-app.js"></script>
<script src="https://www.gstatic.com/firebasejs/11.3.0/firebase-firestore.js"></script>and get an error like it needs to be in a module).
My idea is to send the scores of my minigame to Firestore, and get it back in Moodle to create a leaderboard of all the submitted scores through a table in an iframe.
Not sure if I'm clear, my friday evening brain is closer to some jelly than a human brain 😅