Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[2.x] Feature: Add flat json driver #170

Open
wants to merge 1 commit into
base: 2.x
Choose a base branch
from

Conversation

godismyjudge95
Copy link

This is another attempt of #151 but with the 2.0 rework

Copying the description:

This adds a new driver which allows for storage of model data in a flat json file structure. For example, a model named "Post" would store all of its entries in content/posts.json.

Use case:
I personally am using this to allow importing whole models into javascript without any api endpoint.

Everything works in this PR but I had to make a lot of changes to core files so maybe there are better ways to do things? Let me know what you think.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant