daccotta-org / daccotta

A social network for movies.
https://app.daccotta.com
MIT License
84 stars 42 forks source link

Issues in userModel.ts #231

Closed BaibhavTiwari closed 1 month ago

BaibhavTiwari commented 1 month ago

Here are some potential issues in the userModel.ts code.

1. Inconsistent Naming: directorsold Field

2. Missing Validation for Age Field

3. Missing required Constraint for Important Fields

4. Potential Performance Issue with Group Schema

5. No Validation for Email Format

6. No Default Value for Friend Requests Status

7. Improper Data Type for actor Field

8. Missing Required Field in FriendRequest Interface

9. Potential Redundancy in _id Field Generation

10. Inconsistent Key Naming in Journal Interface

11. No Indexing on Important Fields

mehul-m-prajapati commented 1 month ago

@BaibhavTiwari : which version of chatGPT are you using?

BaibhavTiwari commented 1 month ago

Gpt 4

mehul-m-prajapati commented 1 month ago

@BaibhavTiwari : Good work. But, you need to setup server on machine and find issues manullay. GPT issues wont work here, unfortunately

BaibhavTiwari commented 1 month ago

Have tried to set up the server on the machine but got stuck midway, will try to set it up again and found issues manually.

Thanks

mehul-m-prajapati commented 1 month ago

you can join discord server for setup issues discord .

BaibhavTiwari commented 1 month ago

It shows invalid invite.

image

mehul-m-prajapati commented 1 month ago

Go in readme and click on discord link