Skip to content

Latest commit

 

History

History
45 lines (40 loc) · 887 Bytes

readme.md

File metadata and controls

45 lines (40 loc) · 887 Bytes

PROBLEM STATEMENT

Kuddle Design Challenge

TO DO

1.Implementing same logic for Dance and Yoga Classes. 2.Design the database schema and database connectivity for persistance. 3.Cleaner error handling.

FLOW FOR DEMO PURPOSES

Assuming there are some users already in program Once the user is removed, Waiting List user is promoted to the program

DTO

{
    "gym": {
        "maxCapacity": 3,
        "users": [
            "Karan",
            "Shivansh",
            "Pratyush"
        ],
        "startTime": "18:00:00",
        "waitingListUsers": [
            "Richa"
        ]
    }
}
{
    "gym": {
        "maxCapacity": 3,
        "users": [
            "Karan",
            "Shivansh",
            "Richa"
        ],
        "startTime": "18:00:00",
        "waitingListUsers": []
    }
}