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

Sync collection with a cloud storage (e.g: Google drive) #507

Closed
Aditya94A opened this issue Jan 19, 2020 · 9 comments · Fixed by #513
Closed

Sync collection with a cloud storage (e.g: Google drive) #507

Aditya94A opened this issue Jan 19, 2020 · 9 comments · Fixed by #513
Assignees
Labels
core Changes regarding core concepts feature New feature or request wip Work in progress

Comments

@Aditya94A
Copy link

Aditya94A commented Jan 19, 2020

What is the feature? Postman Teams essentially, without any dedicated backend, we just piggy back off a cloud storage provider.

So, how it would work is basically like:

  1. You're using postwoman, making changes
  2. You decide to simultaneously share collection with your teams, so both frontend and backend (multiple members) can collaborate and get access to the same - always up-to-date - collection without having to export/import over and over again.
  3. User connects with their Google drive
  4. Postwoman collection gets saved in google drive
  5. User gets a unique URL for collection
  6. Anyone can access URL (as per google doc like sharing feature)
  7. Any changes made to collection are synced with the google drive backed collection file.

This would essentially obsolete Postman's biggest use-case.

Check out this application

https://www.draw.io/

Draw.io has a fantastic implementation of this, highly recommend trying out the experience. It's a diagram drawing tool (with not much of a backend for itself, it just piggy backs off of google drive), you can save a diagram to a folder in your google drive, share the diagram link with someone, and you can both work on the same file together.

So, essentially google drive APIs allow you to add real-time collaboration (and other cloud storage goodies) to an app (like Postwoman).

This would literally be a (postman-)killer feature.

Would love to collaborate on this (or anything else in this direction). What are your thoughts on adding collaborative functionalities? (@liyasthomas @jamesgeorge007 @AndrewBastin @NBTX)

@liyasthomas
Copy link
Member

liyasthomas commented Jan 19, 2020

@AdityaAnand1 feature suggestion sounds great! Would love to work on it.

And the mentioned website does the job neatly. Will plan for an MVP, and we would love to add you as a collaborator.

@liyasthomas liyasthomas added core Changes regarding core concepts feature New feature or request labels Jan 19, 2020
@liyasthomas
Copy link
Member

liyasthomas commented Jan 19, 2020

We can certainly make use of Firebase functions, auth, etc for initial prototype. Google sign in seems to be a piece of cake with Firebase Auth.

@Congee
Copy link

Congee commented Jan 20, 2020

Then I can really ditch Postman.

@liyasthomas
Copy link
Member

liyasthomas commented Jan 20, 2020

MVP is ready 🎉

checkout auth branch for development: https://github.com/liyasthomas/postwoman/tree/auth

  • Auth with Google
  • Auth with GitHub
  • Add data to Firestore
  • Delete data from Firestore
  • UI

@liyasthomas liyasthomas added the wip Work in progress label Jan 20, 2020
@liyasthomas liyasthomas self-assigned this Jan 20, 2020
@liyasthomas liyasthomas added this to the v2.0 milestone Jan 20, 2020
@liyasthomas liyasthomas mentioned this issue Jan 22, 2020
9 tasks
@Congee
Copy link

Congee commented Jan 23, 2020

@liyasthomas you da best!

@liyasthomas
Copy link
Member

I've also add few bugs to be fixed later 😉

@Aditya94A
Copy link
Author

Aditya94A commented Jan 25, 2020

Awesome speed!

Is it now possible for a team to collaborate on the same collection? (Can you add some instructions to the README? It won't be immediately clear to new users)

@liyasthomas
Copy link
Member

liyasthomas commented Jan 25, 2020

Oh no, teams are not yet implemented.
We now have Auth + Sync for a single user account.
Well that's not enough isn't it!
..
..
Okay lets build teams now. ✌️

Joke: Meanwhile share your Auth to your (trusted) teammates!

@Aditya94A
Copy link
Author

Do check out the draw.io website @liyasthomas.

Since the current implementation uses firebase storage, the draw.io approach (originally described here as above) might offer significant benefits, including not having to maintain your own backend. And it'd make implementing collaboration (#580) way easier.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Changes regarding core concepts feature New feature or request wip Work in progress
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants