SrijanShovit / carbonops-v2

https://carbonops-v2.vercel.app
MIT License
19 stars 46 forks source link

User Details API #212

Open shreya024 opened 1 year ago

shreya024 commented 1 year ago

Issue Type : API [POST]

Description:

MahendraDani commented 1 year ago

@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 commented 1 year ago

@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 commented 1 year ago

@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 commented 1 year ago

@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 commented 1 year ago

@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 commented 1 year ago

@shreya024 Would you please clear the above doubts?

shreya024 commented 1 year ago

@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 commented 1 year ago

@shreya024 Understood! Will implement this asap