Giter VIP home page Giter VIP logo

build-your-own-pokemon-team's Introduction

build-your-own-pokemon-team

Running project locally

  1. Please run "npm run start" from the "indeed-assessment" folder to spin up the server
  2. Please run "npm run start" fomr the "client" folder to run React app
  3. App can be viewed on localhost:3000/pokemon-team

Using App

  1. Select pokemon type from dropdown list to populate the adjacent pokemon list
  2. Once pokemon list is populated, select pokemon you would like to see
  3. Submit choice
  4. View the stats of the selected pokemon
  5. Click the Catch Pokemon button to add pokemon to list on the right
  6. You can only add up to 6 pokemon. If you try to add more, you will receive an alert
  7. Click the Release Team button if you would like to start over

Routes

GET - This route retrieves the pokemon team store in the json data file. It will persist when page refreshes.

POST - This route adds the caught pokemon to the json data file by overwritting the file with the input added to the json data.

DELETE - This route allows users to release their team by overwritting the file with an empty array

build-your-own-pokemon-team's People

Contributors

marceloayates avatar

Stargazers

Jordan Forbes avatar

Watchers

 avatar

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.