Skip to content

pokedex-net/pokedex-net-client

Repository files navigation

Pokedex.net Client

Version Coverage Documentation Build Status CC BY-NC-SA 4.0 License

Todo

  • Immediate
    • Miscellaneous
      • Finish writing tests and docs
    • Layout
      • Light/Dark Theme Switch (Toggle Element, Bottom of Sidebar)
      • Language Select (Simple Dropdown, Bottom of Sidebar)
      • Search Bar (Input & Complex Dropdown, Right Header)
      • Sub Nav
        • Fix so that those that don't fit are hidden behind a plus button and then shown in an expanded view
        • Remove entirely in favor of another subnav concept
        • Remove entirely
      • Responsive Header & Sidebar
      • Meta Tag Clean Up
      • Mobile Testing
    • Functionality
      • Proper i18n Language support
        • Needs to support Redux, Redux Persist, and RTL
  • Later
    • Planning
      • Pokémon indexes/pages
      • Attacks indexes/pages
      • Items indexes/pages
      • Abilities indexes/pages
      • Berries indexes/pages
      • Flesh out tools/info/other areas

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.

Releases

No releases published

Packages

No packages published