Which is the best option to store large string?


#1

Hello,

I want to make an application that has books, but I do not know how to store the strings of the books since these are giant

What is the best way to store them?

Thanks


#2

Haven’t heard about storing books as a whole string before, only PDF :smiley:

I think it’s best not to store those giant strings inside a database and rather save them as text files to which you can than store the URL/path inside a database.

You could either try Firebase+Storage to host the files, or create a simple NodeJS server which also holds the book files! If you want to get started with Node, you can go through one of my tutorials on using NodeJS with AWS (another option to host your text files perhaps).