-
This project was designed for future ECE 6102 students to get the basic concept on AWS services.
-
The ideas is implementing chatroom with lambda function and Dynamo DB.
Use boto3 for modifying Dynamo tables and serverless for minimizing the environment set up overhead for lambda functions.
- Create AWS account (IAM).
- Host the template on Google Cloud.
We will use google cloud app engine to deploy the server. The templates will be provided.
Check the existence of the channel.
Creat a new channel
{
"name" : "{New Channel Name}"
}
Get all the messages corresponding to the specific channel
Publish a message to a channel
{
"email" : "{Email}",
"text" : "{TEXT}"
}
After signing in, the user can see his/her chat channels.
-
Users should sign in with a google account before adding a channel, sending or seeing a message in the chatroom. No chats should be visible without signing in.
-
There should be a way for the user to create a channel through the interface.
-
Users should be able to send a message on any existing channel.
-
It should be possible to switch between channels seamlessly through the user interface.
-
The delay in message exchange should be minimal.
-
There should be a way for the user to determine the channel he/she is sending a message on.
-
There should be a way for any user to determine the sender of a message. Furthermore, user’s messages should be distinguishable from other messages.
-
The user should be able to see the complete history of a channel.
-
There should be a way for the user to search for a channel among the existing channels.
-
The use of WebSocket (STATEFUL) Connections is prohibited. Only HTTP (STATELESS) connections allow.
-
The content should be only rendered once, and web should use poling for new update.
-
IMPORTANT! A user should, under no condition, miss a message. Furthermore, the order of messages should be the same on every user’s machine. The implementation CANNOT BE refreshing the page.
Create Channel https://www.youtube.com/watch?v=LqyYE_oJDgI
Search Channel https://www.youtube.com/watch?v=KcQI7bp83UU