This project was created to fulfill the job acceptance test at KreatifIndo
Explore the docs »
View Demo
·
Report Bug
·
Request Feature
Table of Contents
Build Web App to consume/visualize this API/Service:
- Use all the API Endpoint
- Show received WhatsApp message
- Send received WhatsApp message
- Get WhatsApp contacts
- Able to login Multi Device
- I'am imitating WhatsApp Desktop layout so the UX feel familiar.
- Receiving new message to feel it like realtime quiet tricky without socket. I'am using recursive function to fetch data repeatedly and using Promise setTimeout for delaying the function.
- Implement socket for realtime update.
- Implement API Key using JWT to identify
botId
(currently usingx-bot-id
on headers. - Notification/toast for new message received.
- Implement push message for notification while tab/browser not focused.
Step or instructions on setting up the project locally. To get a local copy up and running follow these simple example steps.
- Node 16^
- Clone the repo
git clone https://github.com/kim-dev-git/WAZone-Web.git
- Open the project folder
cd WAZone-Web
- Install NPM packages
npm install
- For the
.env
file you can create or copy it from.env.example
VITE_HEADER_KEY=x-bot-id
- Run project
npm run dev
Kiki Irwan Maulana - [email protected]
Project Link: https://github.com/kim-dev-git/WAZone-Web