Home Reference Source

Pokedex.net Client

Version Coverage Documentation Build Status MIT License

Todo

Installation

Note: You should be using Node v10 or higher. Check your Node version with node -v.

  1. git clone git@github.com:pokedex-net/pokedex-net-client.git
  2. cd pokedex-net-client
  3. npm install

Usage

Development

npm start

Development of this application assumes working knowledge of ES6, CSS3, React, React Router, Redux, Redux Saga, styled-jsx, Mocha, & Sinon.

ENV Var Default Description
PORT 8080 The port where the application is served.
API_HOST //api.pokedex.net/ The API host address.

Testing

npm run test

To run tests continually: npm run test:watch

Running tests will automatically run npm run lint, which will check the codebase for linting errors using ESLint based loosely off of Airbnb's Style Guide.

Documentation

npm run docs:watch

Documentation should generally be run in watch mode so that it updates the documentation as you modify code. If you would prefer to run the documentation manually, you can run npm run docs.

Documentation makes use of ESDoc.

Production Build

npm run build

License

This software is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International Public License.