beckn / use-case-gen-frontend

0 stars 17 forks source link

Backend service created | Google Oauth Implemented | Users' google profile data storage implemented #15

Closed rks-031 closed 5 months ago

rks-031 commented 5 months ago

Issue Title: Create backend service to for better persistence of state Issue Number: #11


The following depicts the functionality added to the project:

  1. Creation of signup page.
  2. Enabling login and signup routes.
  3. Updating user model.
  4. Creating Google auth client.
  5. Initializing MongoDB database.
  6. Implementing passport configuration.
  7. Modifying user model.
  8. Integrating Google OAuth to the server.
  9. Adding Google authentication functionality.
  10. Implementing sign-in functionality.
  11. Enabling storage of user details upon sign-in.


Here's a demo of the above said: https://github.com/beckn/use-case-gen-frontend/assets/103258259/788c73fd-8fd8-4c3c-a72f-02601c97ef59

jayesh9747 commented 5 months ago

@rks-031 pls check again the task provided in the issue , we maintain the session not only update the data on our data base . please go through again

rks-031 commented 5 months ago

@rks-031 pls check again the task provided in the issue , we maintain the session not only update the data on our data base . please go through again

@jayesh9747 could you please explain maintaining the session? As per my knowledge, the entire codespace is as it is and only additional functionality of google auth via backend(as mentioned in the task) has been implemented. Kindly reply at your earliest convenience so that I'll be able to work upon the same.

jayesh9747 commented 5 months ago

@rks-031 , maintain the session using cookies provided by the Google API to display user details on the application screen. If you have any queries, feel free to ask on the Discord channel FIDE.