An open API service indexing awesome lists of open source software.

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

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.