staticbackendhq / core

Backend server API handling user mgmt, database, storage and real-time component
https://staticbackend.com
MIT License
701 stars 67 forks source link

[backend-dart] Create a client library for Dart #97

Open dstpierre opened 1 year ago

dstpierre commented 1 year ago

To start the mobile initiatives, having a client library written in Dart would help get things started.

This would need to replicate the Go and Node libraries.

sarkarshuvojit commented 1 year ago

I am interested in this, could you assign this to me?

dstpierre commented 1 year ago

Hey @sarkarshuvojit thanks - I've created the repo feel free to create a PR whenever you want.

Let me know if I can help with anything.

sarkarshuvojit commented 1 year ago

Thanks, will start it on and keep you updated.

sarkarshuvojit commented 10 months ago

Hi @dstpierre, I was a bit unwell the past few months and have started working on the library now. Creating the structure for this project based on the go/nodejs library as you mentioned but slightly modifying the structures to do it the 'dart' way; for example replacing the v interface{} param, and instead using a Future return type for such functions.

Can I create incremental PRs per module, otherwise it might take quite a while for me to complete integrating all? For example, I can create one PR after I complete writing the client code & tests for account-related apis.

dstpierre commented 9 months ago

Hey @sarkarshuvojit no worries and sorry for the delayed reply.

You may proceed as you prefer in the backend-dart project, either have a continuous PR where you add commits over time or have one when you feel it's time to create it. Up to you.