July 25, 2025

Scenes, Chapters & Media

After the account system was working, I started building the structure for stories. Each story can now contain chapters and scenes. The goal was to prepare the data model that will later be used by the editor and the player. I focused on creating and organizing stories in a way that can be expanded later without breaking existing data.

I also began working on the media system. Uploading and managing images will be required for almost everything in the app. The first version linked uploaded files directly to a user. Each element that used a file referenced it from there. It worked, but it was not ideal for shared projects.

I replaced this approach with a new one where media belongs to a story. That makes collaboration easier and keeps everything contained inside the project. Each story now has its own media space, and all files used by that story are stored there.

The first version of the editor interface is now functional. Stories, chapters, and scenes can be created and organized directly in the browser. It is still very bare bones, but it works and provides a clear view of how the editor will grow from here.