3
6 Comments

what stack should I use to implement this?

Hello everyone, I need to build a platform where a person can online search for another person, so it should work like this - if 2 people with the same criterias clicked 'search' button, the platform connects them, if there is not an apt pair the person waits for another person in the online queue.

The problem is - I am a front-end developer and I am not sure, do I need a back-end developer or I can implement that just by using firebase on smth similar

if you can help with the answer, write to me please

Thanks in advance for your help

on December 27, 2020
  1. 1

    You could use something like Firebase, Amplify or Nhost to get the job done.

  2. 1

    About Firbase, amplify --etc
    If your idea consists of simple CRUD operations - these will work great.
    When it is not, it becomes a pain in a** to make it work (don't get me wrong, you can make it work).

    @profitS11 your idea seems bit complicated (waiting in a queue, matching two people). If you have the budget - it is worth it to hire a backend developer. If not you can do it on your own.

    Off the top of my head. I would go with the following stack.

    ExpressJs - Backend Server
    Grapqhl Subscriptions - Wait for another person to match the criteria
    PassportJs - for authentication

    I am primarily a backend developer - struggling in frontend haha ;)
    Hit me up if you have any questions, maybe we can help each other out..

    1. 1

      Hello, thank you for your response, this is mvp, so trying to use the minimum amount of resources, therefore, prefer serverless, if there is a chance ))

  3. 1

    I would probably recommend firebase(https://firebase.google.com/), just because of its simplicity. It's pretty much a serverless framework, so you won't have to maintain or even build a complicated startup and gives you features such as realtime databases out of the box. You can use cloud functions to connect the two people when they are matched. It's also quite cost-effective if you architect it well, especially if you take into account the time you will save not having to maintain the backend. I used these tutorials(https://www.youtube.com/channel/UCsBjURrPoezykLs9EqgamOA) to learn it but there are loads of resources online.