Skip to content

This is a full stack website built utilizing Node, Express. It's a website that allows you check what pokemon Ash Ketchum has battled agains't leveraging OPEN API and displayed a fun interactive manner. and EJS framework. Checkout the site here!

Notifications You must be signed in to change notification settings

jphill19/Ash-Ketchum-Battles

Repository files navigation

Pokémon Search API

This project provides an API to search for Pokémon and check if Ash Ketchum has battled them in the Pokémon series. The project uses Express.js, the PokéAPI, and OpenAI's ChatGPT for fetching Pokémon data and answering user queries.

Checkout the live session here: Checkout the live session here

Table of Contents

Features

  • Fetches data from the PokéAPI.
  • Checks if a Pokémon is part of the Hisui or Gen 9 region.
  • Uses OpenAI's ChatGPT to answer if Ash has battled the specified Pokémon.
  • Autocompletes Pokémon names for search suggestions.
  • Provides details to Ash Battle History
  • Site is resizable to adjust to different forms of media

Prerequisites

  • Node.js and npm installed.
  • An OpenAI API key.

Installation

  1. Clone the repository:
    git clone https://github.com/yourusername/pokemon-search-api.git
    
    
  2. Install the dependencies:
     npm install
    
  3. Create a .env file in the root directory and add your OpenAI API key:
  OPENAI_API_KEY=your-openai-api-key

Usage

Start the server:

npm start

Environment-Variables

Create a .env file in the root directory with the following content:

  OPENAI_API_KEY=your-openai-api-key

Contributing

Contributions are welcome! Please fork the repository and create a pull request with your changes.

License This project is licensed under the MIT License.

About

This is a full stack website built utilizing Node, Express. It's a website that allows you check what pokemon Ash Ketchum has battled agains't leveraging OPEN API and displayed a fun interactive manner. and EJS framework. Checkout the site here!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published