scrape warcraft game data and allocate them to PostgreSQL database
- Create an .env file and input your own credentials from this template
POSTGRES_USER=
POSTGRES_PASSWORD=
POSTGRES_HOST=
POSTGRES_PORT=
BNETID=
BNETSECRET=
-
Create a database in PostgreSQL called
warcraft
-
Create two tables
warcraft_connected_realms
name | type |
---|---|
realm_id | integer |
name | varchar |
connected_id | integer |
warcraft_items
name | type |
---|---|
id | integer |
name | varchar |
run the command node scrapers/<file name>