Skip to content
This repository has been archived by the owner on Mar 16, 2020. It is now read-only.

lmachens/trophy-hunter-pubg

Repository files navigation

Trophy Hunter

Trophy Hunter PUBG

Earn trophies while playing PlayerUnknown's Battlegrounds (PUBG), view information about your teammates and opponents and meet other hunters to play with.

Trophy Hunter is available on Overwolf.

Table of content

Download

You can download the app from the Overwolf App Store soon.

Features

  • Rich stats for every PUBG player including rank, KDA, accuracy and more
  • Challenging achievements/trophies

Develop

Trophy Hunter PUBG is based on Next.js and Zeit Now. The app project shares the code for the web app and the Overwolf app. The API is the backend of Trophy Hunter and access the PUBG API. You need to configure both projects environments.

The project requires Typescript, ESLint and Prettier. Please install top level dependencies first:

yarn install

App

Please follow the instructions on Overwolf Developer to get white listed, otherwise you can not install custom apps in Overwolf.

First, change to packages/app directory.

cd packages/app

Now create development.env for your environemnts. You can use template.env as template. For production build, production.env is required.

Install dependencies:

yarn install

Run web app :

yarn dev

Or export Overwolf app:

yarn export

The Overwolf app is exported to packages/app/out directory.

API

You need to get your own PUBG API key on PUBG Developer Portal.

Go to packages/api directory and create .env file based on template.env.

Install dependencies:

yarn install

Run API:

yarn dev

Contribute

Contributions are always welcome! Please contact me in Discord.