This NodeJS application, integrated with Ngrok and the WhatsApp Business API, serves as a foundation for creating a WhatsApp chatbot for ecommerce purposes. The tutorial used to create this project can be found at blog.logrocket.com.
The application uses the WhatsApp Business API to create a simple ecommerce shop where customers can interact with a WhatsApp chatbot to browse and buy household items and fast fashion.
To set up this Ecommerce App, follow these steps:
-
Clone the repository to your local machine:
git clone https://github.com/codingenchanter725/whatsapp-ecommerce-nodejs-app.git
-
Navigate to the project directory:
cd whatsapp-ecommerce-nodejs-app
-
Install dependencies:
npm i # npm install
-
Run the application:
npm start
-
Use Ngrok to expose your local server to the internet:
ngrok http 3000