Skip to content

tegob/PokemonGoReader

 
 

Repository files navigation

Pokemon Go Reader

Requests information about Pokemon currently in inventory from Niantic and displays stats for each Pokemon in a table.

Dependencies

  1. Install NodeJS - Node version used in development is 6.3.1
  2. Navigate to project root, open a terminal, and run:

npm install

to install dependencies

Building/Running

  • To run both the Node server and the webapp, open a terminal in the project root and run:

    npm start

    This will start the Node server on the port specified in server/config/properties.js by the server.port property. It will also transpile the webapp and start a http-server instance on http://localhost:8080.

  • To run only the Node server, open a terminal in the project root and run:

    npm run server

    This will start the Node server on the port specified in server/config/properties.js by the server.port property.

  • To run only the webapp, open a terminal in the project root and run:

    npm run webapp

    This will transpile the webapp and start a http-server instance on http://localhost:8080.

  • To run only the webapp in development mode, open a terminal in the project root and run:

    npm run webapp-dev

    This will transpile the webapp, watch for front end changes and re-transpile when they are detected, and start a lite-server instance on http://localhost:3000.

Notes

  • You will want to change the apiHost property in webapp/services/properties.service.ts to the local IP of the machine that's running the Node server. If you don't do this, the front end requests will fail.

  • If you use a Google account and have two factor authentication enabled, you will need to generate an app password and use that to log in.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 50.5%
  • TypeScript 37.2%
  • HTML 9.2%
  • CSS 3.1%