Marketplace Site With React and Real-time Chat (Amazon Clone)
Read the full tutorial here:
>> How to Build a Marketplace Site With React (Amazon Clone)
This example shows how to build an marketplace like Amazon where you can chat with the product's seller to answer your queries:
Technology
This demo uses:
- NodeJS
version >=12 - Firebase π₯
- JavaScript π
- Create-react-app β
- TailwindCSS π
- CometChat π
Running the demo
To run the demo follow these steps:
- Head to CometChat Pro and create an account
- From the dashboard, create a new app called "Marketplace Chat"
- Once created, click Explore
- Go to the API Keys tab and click Create API Key
- Create an API key called "Marketplace Chat Key" with Full Access
- Clone the repository by running
git clone git@github.com:igorasilveira/marketplace-cometchat.gitand open it in your editor of choice. - Copy the
.env.exampleand rename it to.envand update the COMETCHAT related variables with yourappId,authKeyandregion. - Run
npm installon the root of the project to install dependencies. - Run
npm startto run you application locally. - Start registering users and creating products!
Questions about running the demo? Open an issue. We're here to help βοΈ
Useful links
- π CometChat Homepage
- π Create your free account
- π Documentation
- πΎ GitHub

