Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tungulin/telegram-app-store
Telegram Mini App. Store
https://github.com/tungulin/telegram-app-store
docker expressjs minio nodejs postgresql react telegram typescript
Last synced: 11 days ago
JSON representation
Telegram Mini App. Store
- Host: GitHub
- URL: https://github.com/tungulin/telegram-app-store
- Owner: tungulin
- License: mit
- Created: 2024-01-16T16:03:54.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-01-16T17:09:38.000Z (about 1 year ago)
- Last Synced: 2024-11-24T01:22:30.401Z (2 months ago)
- Topics: docker, expressjs, minio, nodejs, postgresql, react, telegram, typescript
- Language: TypeScript
- Homepage:
- Size: 1.58 MB
- Stars: 10
- Watchers: 1
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Mini app for Telegram.
### Mini-app store for buying/selling game metadata.
#### Start backend:
1. The backend requires [S3 Minio storage](https://hub.docker.com/r/minio/minio) and [PostgresSQL](https://hub.docker.com/_/postgres) .
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"
```
3. Installing dependencies
```bash
npm install
```
4. Start app
```bash
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
```
2. Installing dependencies
```bash
npm install
```
3. Start app
```bash
npm run start
```