A browser extension that allows you to chat with people in your community browsing the same pages.
A browser extension that allows you to chat with people in your community browsing the same pages.
Explore the docs »
Project Setup
·
Report Bug
·
Request Feature
Table of Contents
Livechat is a browser extension and a chat application that enables community of enthusiasts discuss and share ideas on a topic. Every website or domain you visit in the browser has a unique chat room. You can discuss, share ideas, deliberate, simply talk to any one that visits the website.
It is a fullstack serverless application that uses React js and AWS services
This section lists any major frameworks and technologies were used in building LiveChat
This is an example of how you may give instructions on setting up your project locally. To get a local copy up and running follow these simple example steps.
Thes are prerequisites to set up the project and get up and running locally.
- yarn
- Setup an AWS account.
- Clone the back-end repo
git clone https://github.com/full-stack-serverless/cdk-appsync-chat.git
-
Change into the
cdk-appsync-chat
directory -
Install dependencies in main folder:
npm install
# or
yarn
- Deploy to AWS
cdk deploy
Once the project has been deployed, you'll be given the resources needed to configure the client-side React application.
- Clone the client application
git clone [email protected]:saydus/livechat.git
- Change into the client directory:
cd livechat
- Install the dependencies
yarn
- create a file
aws-exports.js
in the src directory
touch src/aws-exports.js
- Update this file
aws-exports.js
with the outputs from deploying the backend after running cdk deploy
const config = {
Auth: {
region: '',
userPoolId: '',
userPoolWebClientId: '',
},
aws_appsync_graphqlEndpoint:
'',
aws_appsync_region: '',
aws_appsync_authenticationType: 'AMAZON_COGNITO_USER_POOLS',
};
export default config;
- Run the application with the command
yarn watch
-
Now in the browser, open chrome and navigate to the extensions tab (
chrome://extensions/
) -
On the extreme right, Turn on Developer mode
-
On the left, choose the Load unpacked and select the
build
folder from this project -
In the browser, select this
React Web Extension Boilerplate
from the list of extensions. and chat away
Click on extensions and choose the chat extension. The chat up will popup.
See the open issues for features (and known issues).
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE
for more information.