novel
novel copied to clipboard
Notes saved in local browser instead of cloud
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
Looking to add accounts & cloud storage / image uploads 🔜 👀
Image uploads is live!
- Tweet: https://twitter.com/steventey/status/1671896380057739264
- Discussion thread: https://github.com/steven-tey/novel/discussions/37
Would this be saved on Vercel KV? Next-Auth for accounts and vercel KV for storing the content, I'll give it a shot
@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!
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??
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! :)