Coder Social home page Coder Social logo

block-dex's Introduction

LinkedIn


Logo

PokeyDecks

Small Pokedex project


View Deployed Version

Table of Contents
  1. Getting Started
  2. Technical Decisions

Built With

  • React

Getting Started

You can click on the View Demo link up above or here to view a deployed version.

Otherwise you can download and run it locally

Installation

  1. Clone the repo
    git clone https://github.com/glenrage/block-dex.git
  2. Install NPM packages
    npm install
    
  3. Run tests
    npm run test
    
  4. Run Build
    npm run start
    
  5. Open browser to localhost:3000

Technical Decisions

  1. Add Pokemon Feature - Since instructions were to NOT use the Pokedex API, my intuition tells me this feature should allow the user to custom add a new Pokemon that does not exist.
    • I stored the new pokemon data in localstorage, normally we would probably want to persist the data through a database layer, but in our case its temporarily stored on the client side.
    • New Pokemon data is retrieved through Context API. Using Redux would be a bit overkill for this small project, but as our app scales a state management library would be ideal than the Context API.
  2. Error Handling - Main application error handling is handled through an Error Handler Wrapper component. Network requests error handling is done via simple try catch blocks.
  3. Responsiveness & Styling - Unfortunately did not have enough time to make it mobile pixel perfect. Gallery view does scale down as screen resolution decreases.
  4. Testing - I added a few integration & unit tests. I favor integration testing as how components render within pages or other components gives the best return or "bang for buck" for time allotted to writing tests

(back to top)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.