Within section, we shall create the fresh new APIs in fact it is needed seriously to generate all of our Tinder clone

Within section, we shall create the fresh new APIs in fact it is needed seriously to generate all of our Tinder clone

  • /login: take a look at user’s background and ensure that representative normally login to the applying, or perhaps not.
  • /users/create: would a unique user throughout the app.
  • /users/recommend: get the recommended users. Contained in this application, the recommended pages need go after certain conditions, for every representative, which is in the listing, should not have complimentary request on newest associate. After that, the brand new gender of any representative is opposite to the present owner’s gender.
  • /requests/create: do a match requests between dos profiles.

eight. This new Sign on API

The fresh new login API will receive the latest owner’s back ground and you can confirm you to definitely recommendations. In case the customer’s information is appropriate, an individual can be get on the application and the other way around. Continue reading Within section, we shall create the fresh new APIs in fact it is needed seriously to generate all of our Tinder clone