A telegram bot that asks you about your day / mood and writes your answers into a database. It is able to generate diaries for you to read and analyze the data, providing insight into what raises / lowers your mood.
You need the following software:
- Docker Compose
- Node.js and Python 3 (when developing locally without Docker)
Then perform the following steps:
- In
telegrambot/config.py
add the Telegram Bot token
-
Build the webview react app
cd webview npm run build
-
Build all other components and start containers
./br.sh
or
cp -R webview/build/* backend/public/ docker-compose build docker-compose up
- Set
mock=true
in app.js to enable the use of mock data without backend - Start development server
cd webview npm install npm start