Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yandex-cloud-examples/yc-serverless-game
Мультиплеерная онлайн игра, реализованная с помощью Serverless стека Yandex Cloud.
https://github.com/yandex-cloud-examples/yc-serverless-game
multiplayer-game serverless yandex-cloud yandexcloud
Last synced: about 14 hours ago
JSON representation
Мультиплеерная онлайн игра, реализованная с помощью Serverless стека Yandex Cloud.
- Host: GitHub
- URL: https://github.com/yandex-cloud-examples/yc-serverless-game
- Owner: yandex-cloud-examples
- License: apache-2.0
- Created: 2024-03-13T21:30:25.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-03-13T21:30:46.000Z (8 months ago)
- Last Synced: 2024-03-13T22:38:17.905Z (8 months ago)
- Topics: multiplayer-game, serverless, yandex-cloud, yandexcloud
- Language: TypeScript
- Homepage:
- Size: 1.68 MB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.MD
- License: LICENSE
Awesome Lists containing this project
README
# Serverless Game
## Quick start
1. `nvm use`
2. `npm ci`
3. `npm start`## Deployment
1. Required environment variables:
1. `AWS_ACCESS_KEY_ID` - id of SA which will be used for creating/updating resources in cloud
2. `AWS_SECRET_ACCESS_KEY` - static key of SA which will be used for creating/updating resources in cloud
3. `LOCKBOX_SECRET_ID` - id of Lockbox secret, where secrets are stored
4. `YC_CLOUD_ID` - id of cloud, where all services will be deployed to
5. `YC_FOLDER_ID` - id of folder, where all services will be deployed to
6. `YC_IAM_TOKEN` - iam token of SA which will be used for creating/updating resources in cloud
7. `APP_ENV` (`production`/`development`) - build mode (code minification, ...)
2. `TG_BOT_LOGIN= npm run build`
1. `TG_BOT_LOGIN` - login of telegram bot which will be use for authentication via Telegram
3. `npm run deploy`## Links
- [Serverless Community chat in telegram](https://t.me/YandexCloudFunctions)