GithubHelp home page GithubHelp logo

202201-w3-we-berenguer-pou's Introduction

Beringar Pokémons App

Configs: put here stack, tooling, etc...

Development journal

  1. 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
  1. setup folder structure
  2. 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"
  1. added Component component
  2. added PageComponent component
  • added basic html structure: header, main, footer
  1. added MenuComponent component
  • 2 tests OK.
  1. added MenuItemComponent components
  • 4 tests OK.
  1. added PokemonCardComponent
  • 3 tests OK.
  1. implement get data from pokeAPI

  2. implement paginated data fetching. OK

  • BUGFIX: pagination when in last page, modifies offset value. Fix later, after CRUD
  1. implement POST pokemon to mypokemonsAPI
  • added function addPokemonToCollection
  • passed action in button 1 when instantiate PokemonCard component --> addPokemonToCollection()
  1. implemented ButtonComponent component to inject actions to cards conditionally (if main page(pokeapi), if mypokemons(myapi))

  2. implemented removePokemonFromCollection in PageComponent component (if main page(pokeapi), if mypokemons(myapi))

  3. added and deployed mipokeapi app to Heroku (api url: https://mypokeapi.herokuapp.com/)

  • tested ok. GET, ADD, and DELETE methods are working.
  1. added PokemonDetailComponent
  • added form tu update Name and description (in PUT method)

202201-w3-we-berenguer-pou's People

Contributors

beringar avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.