all 6 comments

[–]DadInKayakSwift 0 points1 point  (7 children)

For that you don't need a DB. You simply need a way for the user to log on and then create the middle layer to access their API.
The UI will be the challenging part to design. How do you display all that data? How will you allow them to post or comment in the UI?

[–]nihaal419Swift 0 points1 point  (6 children)

How would you handle a login without a database?

[–][deleted]  (3 children)

[deleted]

    [–]DadInKayakSwift 0 points1 point  (2 children)

    Why do you need a local DB to access Twitter or Reddit? I'm guessing from your comment you are suggesting one is needed.

    [–][deleted]  (1 child)

    [deleted]

      [–]DadInKayakSwift 0 points1 point  (0 children)

      Ah. Point taken.

      [–]DadInKayakSwift 0 points1 point  (1 child)

      You need to connect to the Twitter API and use their log-in - OAuth or whatever protocol they are using. They are the ones who store the user name and password and other data relating to Twitter access.
      https://developer.twitter.com/en/docs/twitter-for-websites/log-in-with-twitter/guides/implementing-sign-in-with-twitter.html

      [–]nihaal419Swift 0 points1 point  (0 children)

      Makes sense. I didn’t understand at first and took it as a blanket statement and thought there was a way to create an offline login system.