Web application that is opened inside webview telegram client. Serves as graphic user interface to telegram bot. Uses Vue3 as UI framework and telegram-web-app library to to connect to Telegram App.
Variable | Description |
---|---|
VITE_API_URL | API host url. Put here url from ngrok output (the one that assigned to port 3000) |
-
create .env file:
cd server cp .env.example .env
-
Fill in variables with your values
-
Install dependencies
yarn install
-
Start or build
4.a. Start in dev mode
yarn dev
4.b. Build for prod
yarn build