OpenCodeFoundation / PlanCards

MIT License
2 stars 1 forks source link

Backend endpoint to create a room #4

Open ratanparai opened 3 weeks ago

ratanparai commented 3 weeks ago

The room will be used for the Planning Poker game

mahedee commented 1 week ago

The room entity will be like as follows. Entity Name : Room

@ratanparai, leave your comment here. If you have any observation

MiliDas commented 1 week ago

Should we consider adding a CreatedAt or CreatedDate field, @mahedee bhaiya?

mahedee commented 1 week ago

Should we consider adding a CreatedAt or CreatedDate field, @mahedee bhaiya?

Yes I can. But, can you please tell me what would be the purpose of that field @MiliDas

mahedee commented 1 week ago

The room will be used for the Planning Poker game

Do you mean the entity name will be Game instead of Room? @ratanparai

MiliDas commented 6 days ago

I believe that since these rooms are used briefly and only once, it is necessary to clean them periodically. By incorporating a CreatedAt or CreatedDate field, we can efficiently remove older data when needed. @mahedee bhaiya

mahedee commented 4 days ago

I believe that since these rooms are used briefly and only once, it is necessary to clean them periodically. By incorporating a CreatedAt or CreatedDate field, we can efficiently remove older data when needed. @mahedee bhaiya

Ok. I think, room will not be that much data to archive but yes, it can be used for sorting. Like if a user create multiple room now he want to order it by date. Then it is required. Ok. I am going to add this field. Thanks for the suggestion.