Telegram bot to track pushups as a group.
- Node.js (LTS version recommended)
- npm
-
Clone the repository:
git clone https://github.com/remarcable/tg-pushups.git cd tg-pushups -
Install dependencies:
npm install
-
Database Setup:
Apply Prisma migrations to set up database:
npx prisma migrate dev --name init
-
Environment Variables:
Create a
.envfile in the root directory and add your Telegram Bot Token:DATABASE_URL="file:dev.db" TELEGRAM_BOT_TOKEN="YOUR_TELEGRAM_BOT_TOKEN"
npm start