Skip to content

๐ŸŽฎ Pokedรฉx Catalog is a web application created using React, TypeScript, Vite and Context API to centralize information for Pokemon fans

Notifications You must be signed in to change notification settings

mariaelizasa/pokedex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

23 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Pokรฉdex ๐ŸŽฎ

image pokemon

Como executar / How to run

Instale as dependรชncias / Install all the dependencies:

npm install

Crie um arquivo .env e adicione a URL da API como variรกvel de ambiente no seguinte formato / Create an .env file and add the API URL on the following format:

Create .env
VITE_BASE_URL=https://pokeapi.co/api/v2/

Execute o projeto / Execute the project:

npm run dev

Estrutura do Projeto / Project Structure

โ”œโ”€โ”€ public
โ”œโ”€โ”€ src
โ”‚   โ””โ”€โ”€ @types // Typescript Interface
โ”‚       โ”œโ”€โ”€ PokemonDetails.ts
โ”‚       โ”œโ”€โ”€ Pokemon.ts
โ”‚   โ””โ”€โ”€ components 
โ”‚       โ”œโ”€โ”€ Card
โ”‚       โ”œโ”€โ”€ Filters
โ”‚       โ”œโ”€โ”€ Icon
โ”‚       โ”œโ”€โ”€ Loading
โ”‚       โ”œโ”€โ”€ NotFound
โ”‚       โ”œโ”€โ”€ Pagination
โ”‚   โ””โ”€โ”€ context
โ”‚       โ”œโ”€โ”€ PokedexContext.ts
โ”‚   โ””โ”€โ”€ pages
โ”‚       โ”œโ”€โ”€ Details
โ”‚       โ”œโ”€โ”€ Home
โ”‚   โ””โ”€โ”€ routes
โ”‚       โ”œโ”€โ”€ routes.tsx 
โ”‚   โ””โ”€โ”€ services
โ”‚       โ”œโ”€โ”€ api.ts // Api URL
โ”‚       โ”œโ”€โ”€ requests.ts 
โ”‚   โ””โ”€โ”€ styles
โ”‚       โ”œโ”€โ”€ global.ts
โ”‚   โ””โ”€โ”€ utils
โ”‚       โ”œโ”€โ”€ utils.ts
โ”‚   โ””โ”€โ”€ App.tsx
โ”‚   โ””โ”€โ”€ main.tsx

Contributing

  1. Fork it (https://github.com/mariaelizasa/pokedex)
  2. Create your feature branch (git checkout -b feature/fooBar)
  3. Commit your changes (git commit -am 'Add some fooBar')
  4. Push to the branch (git push origin feature/fooBar)
  5. Create a new Pull Request

About

๐ŸŽฎ Pokedรฉx Catalog is a web application created using React, TypeScript, Vite and Context API to centralize information for Pokemon fans

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published