Skip to content

cubos-academy/open-source-learn-youtube

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Primeira contribuição open source

POKEMON API

This api is used to tests, we have a little list of pokemons, use is very simple:

List all pokemons - GET /pokemons

[
  {
    "id": 1,
    "name": "Pikachu",
    "image": "https://assets.pokemon.com/assets/cms2/img/pokedex/full/025.png",
    "type": "Electric"
  },
  {
    "id": 2,
    "name": "Rotom",
    "image": "https://assets.pokemon.com/assets/cms2/img/pokedex/full/479.png",
    "type": "Electric"
  },
  {
    "id": 3,
    "name": "Charmander",
    "image": "https://assets.pokemon.com/assets/cms2/img/pokedex/full/004.png",
    "type": "Fire"
  },
  {
    "id": 4,
    "name": "Minun",
    "image": "https://assets.pokemon.com/assets/cms2/img/pokedex/full/312.png",
    "type": "Electric"
  },
  {
    "id": 5,
    "name": "Venusaur",
    "image": "https://assets.pokemon.com/assets/cms2/img/pokedex/full/003.png",
    "type": "Poison"
  },
  {
    "id": 6,
    "name": "Geodude",
    "image": "https://assets.pokemon.com/assets/cms2/img/pokedex/full/074.png",
    "type": "Fighting"
  }
]

Insert new pokemon - POST /pokemons

Body of requistion:

{
    "name": "Geodude",
    "image": "https://assets.pokemon.com/assets/cms2/img/pokedex/full/074.png",
    "type": "Fighting"
}

To contribute:

  1. Make a fork
  2. Create your branch
  3. Create your updates
  4. Open pull request
  5. Wait approve
  6. Get a green mark (contribution) in your github profile

Rules: This project use a conventional commits, see more in this link: https://www.conventionalcommits.org/en/v1.0.0-beta.4/#summary

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published