huytd / pomoday-v2

A keyboard only task management web app
https://pomoday.vercel.app
BSD 3-Clause "New" or "Revised" License
584 stars 69 forks source link

How to use sync feature? #42

Open fbartels opened 4 years ago

fbartels commented 4 years ago

Hi,

I saw that there is now a new "login" command, after which tasks should be synced to a central server. There is no mention of what values to enter into this view and also no register command.

How can one use it? How to use it on the self hosted version?

huytd commented 4 years ago

Hi, the sync feature has been implemented on the frontend but the backend isn't finished yet. I'll have the instruction for it later when everything is ready.

Thanks!

thangngoc89 commented 4 years ago

@huytd I'm curious if you looked into automerge or other CRDT syncing projects for this feture? This app is a perfect project for using those

huytd commented 4 years ago

@thangngoc89 Yes I did looked at automerge and PouchDB at first, but for some reason, the BE dev in my team decided to go with the self-developed solution first :D we might added it (and other) later as an extension or something.

thangngoc89 commented 4 years ago

I have some experience with synching using both and I’d say a custom built solution is the worst option :) . At least basing it on CRDT or OT

huytd commented 4 years ago

Yeah I agree with you about that :D there's some other reason behind it, but we mostly want to try out to see how far we could go at first :D

deepDiverPaul commented 4 years ago

are there any news on that? some sort of sync across devices would be perfection.

wonderful tool!!

Codename-11 commented 4 years ago

+1 For a sync feature! Love the app, but definitely need to be able to access the list from multiple devices! Looking forward to it!

huytd commented 4 years ago

Thank guys! I just published a sync API specs, if you want to build the server yourself https://github.com/huytd/pomoday-v2/wiki/Pomoday-Backend-API-Specification

The current frontend is already implemented to work if you follow this backend specs.

tuananh commented 4 years ago

@huytd is there a place (wiki) to list all the opensource backend implementation? I'm interested in building one with Cloudflare workers.

Very cool project btw. Thanks.

huytd commented 4 years ago

@tuananh hey, thanks. About your question, there's no actual list of backend implementations right now, a few people tried to implement the backend themselves before I published the backend specs, but they never released it.