- it is a AWS serverless project
- AWS Lambda
- AWS DynamoDB
- AWS Cognito
- AWS Amplify
- AWS ApiGatway v2
this repository dosen't contain entire code it is clone of original repository which is deployed to AWS CodeCommit
code is not documented
Assume a scenario, where there are institutions and users, user wants to query a institution about any issue he has with it, uconnect introduces its way of establishing the communication between two entities
Where a user raises a thread to any institution, it opens a new chat window where he can communicate, once communication is closed, he can terminate the thread, which implies, he can't communicate over the thread any more.
this prototype, implements the above concept to a university where schools are different schools in a university and users can be students or employees
- backend
- school
- user
- worker
- schools are institiutions
- workers are workers to an institution, where a school can offload the threads comming to it to its workers to handler
- users are the customers
- two schools can communicate but not two users, and two workers
- workers don't have much power, they are created and delted by their respective school
- users are not aware whether the their thread is handled by school itself or its workers.
- workers are not aware of the owner of the threads they are assigned
- schools can raise a thread to other school but not to a user or worker
- user can raise a thread to any school but not to a worker or other user
- user or school cannot raise more than 5 threads, no school can have more than 5 workers
- only who raised the thread can be able to terminate or delete the thread
- for chatting, apigateway websocket api is used