Skip to content

input your DB pokemon to Pvpoke team builder and get the threat score

License

Notifications You must be signed in to change notification settings

ErickMifo/pogo-threat-node

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pogo-threat

input your DB pokemon to Pvpoke team builder and get the threat score

Casual players can have a really hard time on PokemonGo GoBattleLeague since build a team is a really hard task. https://pvpoke.com/team-builder/ offers you a solution for this asking you to input some of your pokemons and returning some data like how those pokemons deal with the meta, but still really hard to build a team since you have to input lots of pokemons a lot of times until you figure out what is the best combination for the Pokes that you have.

This application try to solve this problem making you a DataBase of all your pokemons, making a input 3 by 3 on https://pvpoke.com/team-builder/ , getting the "threat score" of all of your possible teams (using Cn,p = n!/p! (n – p)!) and just letting you choose the order of the team you picked.

So as you can notice, it do not build THE BEST POSSIBLE TEAM WITH YOUR POKEMONS, but it can save a lot of time of a casual Go Battle League player.

Installation

THIS IS MY FIRST CODE, SO ITS REALLY NOT CLEAN OR SMART AT ALL plus i got some code from https://github.com/Rocketseat to make a DB.

To begin, you’ll need:

Nodejs, MongoDB, express, mongoose, node-fetch, puppeteer, requireDir, mongoose-paginate.

You'll need to create a Database (mine is called "pokedb", so if you name it differently, change the url on the "server.js") and a collection (mine's called products) with your pokemons.

this is how my DB looks like: Captura de Tela (2)

After this you need to run "npm run dev" into your terminal to start the server and run "node scrappers.js" to get the respective threat score of each of your team.

It should look like this: Captura de Tela (1)

Next steps

My database organization its a mess, so I need to make all the ./src stuff more intuitive

get the scrappers results and post on my DB

About

input your DB pokemon to Pvpoke team builder and get the threat score

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published