Skip to content

Visualization of World of Warcraft token prices

Notifications You must be signed in to change notification settings

thusimon/wowdev

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WOW Token Tracker

This app uses the Battle.net OAuth flow to get World of Warcraft token prices and show the current and historical prices.

Prerequisites

  • Go to battle.net guide to create a client first
  • Prepare a mongodb service url
  • Put above information in the .env file in server folder, like
    MONGODB_URI=<Your mongodb service url>
    BNET_ID=<Your battle.net client id>
    BNET_SECRET=<Your battle.net client secert>
    PORT=3002
    NODE_ENV=production
    
    also create a .env.local file at the same folder, the content is same as .env, but set NODE_ENV=development
  • Node version >= 16

Development

  • run yarn server-dev, then server should be running on port 3002
  • run yarn client-dev, client should be running on localhost:3000

Production

  • run yarn client-prod to build client, may need to set NODE_OPTIONS=--openssl-legacy-provider
  • run yarn server-prod to start server, the app should be running on localhost:3002

Historical data

You can schedule a job to get the token prices, recommend hourly job. For details, refer to scripts/getToken_task.sh

Demo

https://wow.utticus.com

About

Visualization of World of Warcraft token prices

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published