Skip to content

Location of the NeDB data store file? #3

@don-smith

Description

@don-smith

Hey Thom, I hope you don't mind me posting here even though this isn't at all an issue with your demo.

I'm using this repo as a starter for my own demo that uses React instead of Mithril. I noticed you have a dependency on NeDB, which seems like a great choice for an Electron app. I am successfully saving and retrieving records but (and here's the real embarrassing bit) I can't locate the data store file to save my life. I've tried both relative and absolute paths, as well as path.join(process.cwd(), 'store.db'), and confirmed the records are in fact being saved across app restarts. But I can't find the actual file anywhere.

I mainly just want to know where it's being created for deployment reasons. I suspect it has something to do with how Electron is running (I'm just using npm start for the moment). Any help or ideas you have would be greatly appreciated. Much thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions