Coder Social home page Coder Social logo

Comments (5)

j-berman avatar j-berman commented on September 4, 2024 1

You could do something like this:

  1. Your coaches could create databases called "Progress Reports - <Client Name>" via openDatabase.

  2. They could then insert progress reports using insertItem + uploadFile.

  3. Coaches could then share the database with their clients via shareDatabase.

  4. Clients would then be able to see progress reports shared with them via getDatabases.

  5. Clients could then call openDatabase with the progress reportโ€™s database ID.

That make sense?

from userbase.

j-berman avatar j-berman commented on September 4, 2024 1

Maybe your coaches would have an additional database called "Clients" where they store client names + contact info as well.

Edit: So each item in the "Clients" database would be a client. And each item in the "Progress Reports - <Client Name>" database would be a progress report. And the relationship between the items in the "Clients" database and the items in the "Progress Reports - <Client Name>" databases would be one-to-many.

from userbase.

j-berman avatar j-berman commented on September 4, 2024 1

You got it!

Userbase uses a combination of AWS DynamoDB and S3, but I don't think that helps you very much because the API completely abstracts that away from you. You only need to understand these functions really.

This section of the architecture spec might be a bit more helpful explaining what happens under the hood when you call these functions.

from userbase.

sebastianbachmann avatar sebastianbachmann commented on September 4, 2024

Thanks for your help and explanations. Yes it makes sense, but i have to play with it - and come back asking more questions - to fully understand how this works ๐Ÿ˜ฌ

Can you give me a hint on what kind of DB Userbase is running, so i can read some documentation?

from userbase.

j-berman avatar j-berman commented on September 4, 2024

Closing! Feel free to ask questions whenever

from userbase.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.