coronanet / rn-coronanet

React native interface of the Corona Network
12 stars 4 forks source link

coronanet API description #11

Open 0mkara opened 4 years ago

0mkara commented 4 years ago

A little bit of API description is required to process the frontend development further. I am not asking for specification I can find that on go-coronanet.

I think I made the profile create/update/delete functionalities working on PR #10. Now I am having no idea what those cards, contacts, events will do.

Kindly provide briefs @karalabe

karalabe commented 4 years ago

Hi @0mkara, thanks for the PRs. I'll try to write up some more specs tomorrow.I'm doing some internal networking rework and want to build everything on top of those new ideas, so I need to get those finalized first.

Also, could you please attach some screens to your PRs? It would make discussing a lot easier. E.g. your code mentions some login/logout functionality, which are non-existent for this app (your user is tied to your phone, there's no notion of switching devices or users). The only purpose of deletion is to remove any personal data before uninstalling the app (and during debugging to help start over). I know this is my fault as my ideas aren't nearly well enough documented, but that's why I'm trying so hard to make the APIs specced and well docced to avoid wasting someone's time.

Also would be nice to sync things a bit with @daodesigner too while progressing, just to make sure things go in the same direction. I think the approach in was to create a callable javascript interface to all the functionality, which can then be tested / played with while evolving the UI.

Either way, I'm super happy for controbs, just don't want anyone to lose their valuable time because of me.

daodesigner commented 4 years ago

https://github.com/coronanet/rn-coronanet/pull/12