Skip to content

tungulin/telegram-app-store

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mini app for Telegram.

Mini-app store for buying/selling game metadata.





Start backend:

  1. The backend requires S3 Minio storage and PostgresSQL .
  2. You need to enter the config file .env:
TOKEN_SECRET = "For JWT"
PRODUCT_SECRET = "For Encrypt metadata"
PORT = "your port"
YUKASSA_AUTH_KEY = "YooKassa KEY auth"
YUKASSA_SHOP_ID = "YooKasse ID Shop"
  1. Installing dependencies
npm install
  1. Start app
npm run start

Start frontend:

  1. You need to enter the config file .env.production:
REACT_APP_BASE_URL = "your API url"
REACT_APP_BRAND_ID = "created brand ID"
REACT_APP_VERSION=$npm_package_version
  1. Installing dependencies
npm install
  1. Start app
npm run start