🐤 🐣 🐥
simple and clean pubg player stats and matches tracker
The current production build is served by vercel.com
https://pubg.domnc.app
the server is running on AWS
https://api.pubg.lol
I build this project with the following setup:
- macOS Monterey v12.0 Beta
- node v16.7.0
- yarn v1.22.11
- npm v7.20.3
- Docker version 20.10.8, build 3967b7d
-
create your
.env
file based on the.env.example
-
install all necessary dependencies
yarn install
- start frontend
yarn frontend:start
- start server
yarn server:start:dev
-
create your
.env
file based on the.env.example
-
build docker application
docker-compose --env-file packages/pubg-server/.env build
- start docker application
docker-compose --env-file packages/pubg-server/.env up
- stop docker application
docker-compose --env-file packages/pubg-server/.env down
import player by name
yarn workspace pubg-server ts-node --transpile-only ./src/tasks/importplayer.ts *PLAYER_NAME*
run update players task
NODE_ENV=production yarn workspace pubg-server ts-node --transpile-only ./src/tasks/run-update-players.ts
*/5 * * * * cd ~/apps/pubg/ && bash scripts/run-update-players.sh >/dev/null 2>&1
Copyright © 2021 Dominic Kolbe 🇩🇪