Notification center for Monika users. A web app where user can register their WhatsApp phone number to receive notification from Monika.
- Node.js v^14.14.37
- npm v6.14.11
- PostgreSQL v10
- Docker and Docker compose (optional)
Install node package dependencies
npm ci
Copy env file
cp .env.local.example .env
Setup Database
Install and run PostgreSQL with credential like in file docker-compose.yml
Or
It is easier to use Docker and Docker compose for development. And run following command in the root project directory:
docker compose up -d
Migrate prisma db
npm run migrate-db
Run on your computer
npm run dev
Open http://localhost:3000 with your browser to see the result.
We use Meta WhatsApp API to send WhatsApp message. Refer to their docs to learn more.
To make this app running funtionally, you have to setup a fake server too by doing these steps:
Clone the repo
git clone https://github.com/ilmiawan/fake-whatsapp-server
Then follow the instruction in readme to run the server, and the server will be up in http://localhost:3030