kidroca / bedtime-story-generator

Illustrated stories generator powered by AI
0 stars 0 forks source link

[Dev quality] More suitable story storage #4

Open kidroca opened 1 year ago

kidroca commented 1 year ago

Description

It might make more sense to use Firebase rather than the local file system

Unfortunately this would make the project less portable - right now any one can run it locally

As an initial step the naming convention should be improved a bit because it seems to cause problems when the project is hosted on Netlify

Ideally when we're listing story files it would be great to see a title or a few words in the file/dir name Other information like the date can be moved inside the story.json file, though right now we rely on the date a bit for uniqueness