Configs: put here stack, tooling, etc...
- Added Config development environment
- eslint
- eslint config prettier
- husky (hooks: pre-commit, pre-push, commit-msg)
- babel plugin to manage import/export --> commonJS
- jest and @types/jest
- sass
- bootstrap5
- github workflow audit.yml
- setup folder structure
- added scripts in package.json:
- "compile-sass": "sass src/scss/styles.scss public/css/styles.css"
- "compile-sass-watch": "sass --watch src/scss/styles.scss public/css/styles.css"
- added Component component
- added PageComponent component
- added basic html structure: header, main, footer
- added MenuComponent component
- 2 tests OK.
- added MenuItemComponent components
- 4 tests OK.
- added PokemonCardComponent
- 3 tests OK.
-
implement get data from pokeAPI
-
implement paginated data fetching. OK
- BUGFIX: pagination when in last page, modifies offset value. Fix later, after CRUD
- implement POST pokemon to mypokemonsAPI
- added function addPokemonToCollection
- passed action in button 1 when instantiate PokemonCard component --> addPokemonToCollection()
-
implemented ButtonComponent component to inject actions to cards conditionally (if main page(pokeapi), if mypokemons(myapi))
-
implemented removePokemonFromCollection in PageComponent component (if main page(pokeapi), if mypokemons(myapi))
-
added and deployed mipokeapi app to Heroku (api url: https://mypokeapi.herokuapp.com/)
- tested ok. GET, ADD, and DELETE methods are working.
- added PokemonDetailComponent
- added form tu update Name and description (in PUT method)