Realtime chat app built with websockets using Node.js, Express, and Socket.io with vanilla JavaScript. Includes login and authentication using AWS REST API, DynamoDB, and Lambda. HTML, CSS, and JavaScript for the front-end.
- Both on the client and server directories:
npm install
- Create a DynamoDB database on AWS and a REST API to invoke Lambda
- Copy the backend code to your Lambda to perform backend functionalities: https://github.com/prabinbasnet09/chat-app-lambda
- Create an API key to securely access your REST API and store it in your .env file
- Edit the database name to match your database name
- cd to server:
npm run dev
- Go to localhost:3000
- Open localhost:3000 from multiple browsers to login as different users
For logging in to any group temporarily use the password format groupname123.