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

Notes saved in local browser instead of cloud #11

Closed
yishaik opened this issue Jun 18, 2023 · 6 comments
Closed

Notes saved in local browser instead of cloud #11

yishaik opened this issue Jun 18, 2023 · 6 comments
Labels
feature New feature or request

Comments

@yishaik
Copy link

yishaik commented Jun 18, 2023

Is it possible to have changes saved in the cloud when I use my own vercel deployment so I have the same content regardless of the device I'm using to connect

@steven-tey
Copy link
Owner

steven-tey commented Jun 18, 2023

Looking to add accounts & cloud storage / image uploads 🔜 👀

@steven-tey
Copy link
Owner

Image uploads is live!

@steven-tey steven-tey added the feature New feature or request label Jun 22, 2023
@Dhravya
Copy link
Contributor

Dhravya commented Jun 25, 2023

Would this be saved on Vercel KV?
Next-Auth for accounts and vercel KV for storing the content, I'll give it a shot

@steven-tey
Copy link
Owner

steven-tey commented Jun 25, 2023

@Dhravya Vercel KV seems like the most direct, straightforward approach, but ideally we'd wanna use Vercel Postgres for relational data in the long run. For reference, Notion uses postgres + BSON:
https://www.reddit.com/r/Notion/comments/lxhxwi/anyone_now_what_database_architecture_is_notion/

Will need to think about this a bit more, but LMK if you have any ideas!

@Dhravya
Copy link
Contributor

Dhravya commented Jun 26, 2023

Ok, so, the way I think about it is:

  • A users table, storing pfp, username, email, id, etc
  • A "Novels" table (idk what we would name it tbh) pointing to user and storing the novel itself as txt??

@steven-tey
Copy link
Owner

Update here: won't be adding a cloud feature directly inside the novel package, but feel free to npm i novel into your own app and connect to the cloudstorage of your choice! :)

@steven-tey steven-tey closed this as not planned Won't fix, can't repro, duplicate, stale Sep 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants