Skip to content

nico-hyperjump/monika-notification-engine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Monika Notification Engine

Notification center for Monika users. A web app where user can register their WhatsApp phone number to receive notification from Monika.

Getting Started

Prerequisites

Development

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.

Whatsapp Server

We use Meta WhatsApp API to send WhatsApp message. Refer to their docs to learn more.

Fake Whatsapp Server

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