Skip to content

gpessoni/Pokedex-JavaScript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pokedex JS

This is a project is a Pokedex from Pokémon, made with pure JavaScript and uses a API called PokeAPI:

Pokedex
For the images in this project I use a website called CDN. It was a website from content distribution in cloud All the images are available in : https://cdn.traction.one/pokedex/pokemon/


The Preview of website are available here

To Getting Started with API

Prerequisities

  • Git
  • Node: 10.11.0 or greater
  • A GitHub fork of the repo (for any contributions)
  • A clone of the pokeapi.co repo on your local machine

Installation

  1. cd pokeapi.co to go into the project root.
  2. npm install to install project dependencies.

Running locally

  1. npm run start to start the hot-reloading development server (powered by React-Static).
  2. Go to https://localhost:3000 to view the site in your browser.

Building for production

  1. npm run build to build the production site.
  2. npm run serve to serve the production version of the site on a local test server.

Production files are located in the dist directory.

Make the change

  1. Follow the "Running locally" instructions.
  2. Save the files and check results in the browser.

Changes to React components in /src will hot-reload. If modifying the /alerts.json file or files in the /src/docs/ directory, you will need to restart the dev server before changes will be visible.

Test the change

If possible, test any visual changes in all latest versions of common browsers, on both desktop and mobile.

Push it

  1. git add -A to stage your changed files.
  2. git commit -m "My message" (replacing My message with a commit message, such as "Fix header logo on Android") to commit your changes. While not critically important, try to follow the guidelines in How to Write a Git Commit Message.
  3. git push my-fork-name branch-name to push your changes to your own GitHub repository.
  4. Go to the pokeapi.co GitHub repo and you should see your recently pushed branches.
  5. Follow GitHub's instructions to submit a pull request.
  6. Describe the changes you made in the body of the PR. If possible, include screenshots of visual changes.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published