A Telegram bot to manage and remind you of your tasks.
- Add tasks with due dates and with recurrence if need
- View your tasks, update or delete as you need.
- Receive reminders for upcoming tasks.
- Check your telegram id uisng the bot.
- Check your due tasks with telegram bot.
-
Clone the repository:
https://github.com/Soap171/Task-Reminder-Telegram-Bot.git cd server (for the backend) cd client (for the react frontend)
-
Install dependencies:
npm install
-
Open the telegram app and go to Botfather and create a bot for yourself work.
-
Set up environment variables: Create a
.env
file in the root directory and add your Telegram bot token:TELEGRAM_BOT_TOKEN=your-telegram-bot-token MONGODB_URI = "your mongodb url" JWT_SECRET = "your secret key" PORT = "your port number"
-
Start the bot:
npm run dev to start the server npm start to start the react app
- Start a chat with your Telegram bot.
- Use the following commands to interact with the bot:
/mytasks
- View your tasks/myid
- Get your Telegram ID
For detailed API documentation, please visit API Documentation.
Contributions are welcome! Please open an issue or submit a pull request.
This project is licensed under the MIT License. See the LICENSE file for details.