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
โโโ 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
- Fork it (
https://github.com/mariaelizasa/pokedex
) - Create your feature branch (
git checkout -b feature/fooBar
) - Commit your changes (
git commit -am 'Add some fooBar'
) - Push to the branch (
git push origin feature/fooBar
) - Create a new Pull Request