https://github.com/amyrahmady/fitness-bot
A telegram bot with integrated mini app (Telegram web app) for my own personal daily schedule for 2 months with diet and workout plans, daily meal suggestions
https://github.com/amyrahmady/fitness-bot
telegram telegram-bot telegram-mini-app telegram-mini-apps
Last synced: 7 days ago
JSON representation
A telegram bot with integrated mini app (Telegram web app) for my own personal daily schedule for 2 months with diet and workout plans, daily meal suggestions
- Host: GitHub
- URL: https://github.com/amyrahmady/fitness-bot
- Owner: AmyrAhmady
- Created: 2025-03-02T02:31:08.000Z (8 months ago)
- Default Branch: master
- Last Pushed: 2025-03-03T00:01:37.000Z (8 months ago)
- Last Synced: 2025-05-13T18:02:04.996Z (5 months ago)
- Topics: telegram, telegram-bot, telegram-mini-app, telegram-mini-apps
- Language: HTML
- Homepage:
- Size: 32.2 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# fitness-bot
It's just a personal bot, only publishing it so if someone needs an example of Telegram's **mini apps** they can use it.
## Usage
### Frontend
First edit the html file at the line containing this: `const backendUrl = 'http://localhost:3001'; // Replace with your backend URL` with your own backend URL.
Then nothing special, just host it somewhere, and make sure it's https.### Backend
First you need to make your own .env file using .env.example as your template, and fill the required data in there, then follow the steps below:
```shell
cd backend
npm i
npm start
```### Telegram
Now just open your Telegram, go to your bot, and start it, the rest is self-explanatory.