How set quizzes in an array

Hi, I am new with Ionic and Firebase. I would like to ask how are we going to build an app that can store the quizzes in database using array and call back all the quizzes that we have set and generate it to be a QR code? Please help me. Thankyou.