Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

User Details API #212

Open
shreya024 opened this issue Jul 17, 2023 · 8 comments · May be fixed by #238
Open

User Details API #212

shreya024 opened this issue Jul 17, 2023 · 8 comments · May be fixed by #238

Comments

@shreya024
Copy link
Collaborator

Issue Type : API [POST]

Description:

  • Design a POST api using MongoDB to send user details to DB when user fills up the details form
  • Write proper functions and routes in the backend folder to implement the same
  • Send the payload data back as response along with status code
Repository owner deleted a comment from SrijanShovit Jul 17, 2023
@MahendraDani
Copy link
Contributor

@shreya024 I would like to work on this issue!
As #211 and this issue is inter-related, would it be fine if I work on them simultaneously.

@shreya024
Copy link
Collaborator Author

@shreya024 I would like to work on this issue! As #211 and this issue is inter-related, would it be fine if I work on them simultaneously.

They might be inter-related,but can be worked on separately

@MahendraDani
Copy link
Contributor

@shreya024
I am getting an error when running the backend server. The problem is connection to monogodb databse.
The screenshot of error is attached below.
monogo_error

I am using mongodb compass to connect to database on my local machine.
@shreya024 Would you please help me solve this problem?
Thanks

@MahendraDani
Copy link
Contributor

@shreya024 I am getting an error when running the backend server. The problem is connection to monogodb databse. The screenshot of error is attached below. monogo_error

I am using mongodb compass to connect to database on my local machine. @shreya024 Would you please help me solve this problem? Thanks

@shreya024 I fixed this issue!

@MahendraDani
Copy link
Contributor

MahendraDani commented Jul 19, 2023

@shreya024
Do I need to create the api for signup and login of individual user and organization user?
If yes, then should I create a Indvidual_User and Organization_User models for each of them?
The models will have the following properties:

For Indvidual_User

signup

For Organization_user

org_signup

@MahendraDani
Copy link
Contributor

@shreya024 Would you please clear the above doubts?

@shreya024
Copy link
Collaborator Author

@shreya024 Do I need to create the api for signup and login of individual user and organization user? If yes, then should I create a Indvidual_User and Organization_User models for each of them? The models will have the following properties:

For Indvidual_User

signup

For Organization_user

org_signup

@MahendraDani I think the models for these are already made inside the /backend/models.You just need to implement the functionality

@MahendraDani
Copy link
Contributor

@shreya024 Understood!
Will implement this asap

@MahendraDani MahendraDani linked a pull request Jul 28, 2023 that will close this issue
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants