You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As an author self-deploying Doctoral, I want the ability to use the file system, instead of a running database, for storage, because I want to use a syncing service like Dropbox to manage backups, or I don't want the complexity of running such a database alongside the Express backend.
Design
Provide a way to switch to the file system when initializing the server and specify a path, either in a config file or in the command to launch the server.
Store the table of contents in a json file, contents.json, for now. Each document should have its own JSON file.
Acceptance
Given the express server code,
when I start the server and specify the folder to store my data
and I start the front-end and create/edit documents
then I observe the appropriate files (see Design above) in the folder I specified that contain the contents of my documents.
The text was updated successfully, but these errors were encountered:
Motivation
As an author self-deploying Doctoral, I want the ability to use the file system, instead of a running database, for storage, because I want to use a syncing service like Dropbox to manage backups, or I don't want the complexity of running such a database alongside the Express backend.
Design
Provide a way to switch to the file system when initializing the server and specify a path, either in a config file or in the command to launch the server.
Store the table of contents in a json file, contents.json, for now. Each document should have its own JSON file.
Acceptance
The text was updated successfully, but these errors were encountered: