PHP Classes

PHP Pokemon Script: Provides an API to manage a database of Pokemons

Recommend this page to a friend!
  Info   Documentation   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 122 All time: 9,476 This week: 524Up
Version License PHP version Categories
pokemon 1.0.0Custom (specified...5PHP 5, Games, Web services
Description 

Author

This package provides an API to manage a database of Pokemons.

It takes HTTP requests to perform several operations to manage a database with details of Pokemons. Currently it can:

- Create a record for an API user to access the database of Pokemons using an email and password
- Authenticate an API user
- Retrieve a list of Pokemons in the database
- Retrieve the information details of a given Pokemon
- Create a record for a new Pokemon with a given nam, attack strength, defense strength and agility
- Update or delete the record of a given Pokemon

Innovation Award
PHP Programming Innovation award nominee
April 2018
Number 6
Pokemon is a very popular game and animated movie series around the world.

This package can keep track of information Pokemon in a database, so Pokemon players may be aware of existing Pokemons and their characteristics.

Manuel Lemos
Picture of Renato Lucena
Name: Renato Lucena <contact>
Classes: 1 package by
Country: Brazil Brazil
Innovation award
Innovation award
Nominee: 1x

Documentation

"# pokemon"

Uma API onde o usuário interage com POSTMAN, lendo em JSON e possui as seguintes rotas:

*POST /cadastro - passa como parametro nome, email e senha para se cadastrar na aplicação; *POST /login - passa como parametro email e senha para se logar e gerar o token de acesso; *GET /pokemons - lista todos os pokemons do banco de dados; *GET /pokemon/:id - mostra os detalhes de um pokemon; *POST /pokemon/add - cadastra um novo pokemon com nome, tipo do pokemon, poder de ataque, poder de defesa e agilidade; *PUT /pokemon/:id - altera os dados do pokemon; *DELETE /pokemon/:id - remove um pokemon;


  Files folder image Files (923)  
File Role Description
Files folder image.idea (5 files, 1 directory)
Files folder imageapp (2 files, 4 directories)
Files folder imagebootstrap (2 files)
Files folder imageconfig (11 files)
Files folder imagedatabase (3 directories)
Files folder imagepublic (3 files, 4 directories)
Files folder imageresources (3 directories)
Files folder imageroutes (4 files)
Files folder imagetests (2 files, 2 directories)
Files folder imagevendor (1 file, 29 directories)
Accessible without login Plain text file .env Data Auxiliary data
Accessible without login Plain text file .env.example Data Auxiliary data
Accessible without login Plain text file artisan Class Class source
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file composer.lock Data Auxiliary data
Accessible without login Plain text file package.json Data Auxiliary data
Accessible without login Plain text file phpunit.xml Data Auxiliary data
Accessible without login Plain text file pokemon.sql Data Auxiliary data
Accessible without login Plain text file README.md Doc. Documentation
Accessible without login Plain text file server.php Aux. Auxiliary script
Accessible without login Plain text file webpack.mix.js Data Auxiliary data
Accessible without login Plain text file yarn.lock Data Auxiliary data

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 100%
Total:122
This week:0
All time:9,476
This week:524Up