Selling pdfs on App Store

I'm building an app that will have a lot of ebooks that will be sold individually, like the Kindle app on IOS. This is my first app build, so I have a lot of questions.

To store the pdfs for the books, do I just have them stored with Firebase, and connect that with my app?

How do I make each book purchasable?

How would I download the pdf onto the user's phone once the book is purchased? Not onto his downloads folder, but so that the user can only access the downloaded pdf through the app.

When adding in-app purchases to my app, do I add every single book as a product, or is "buying a book" just one product that is applicable to every book on the app?

Any clarity would be greatly appreciated, thank you!

Selling pdfs on App Store
 
 
Q