pokedex-api is a RESTful API designed for educational purposes. It serves "Pokedex" data which meant to be consumed by a frontend client written in any framework of one's choosing, i.e.: jQuery, AngularJS, Angular, Vue or React
$ git clone https://github.com/Pkthunder/pokedex-api.git
$ cd pokedex-api
$ npm install
To start the API server
$ cd pokedex-api
$ npm start
The only configuration is the port number the RESET API is hosted on.
This is set via a environment variable NG_POKEDEX_PORT
. Default is 4000
All endpoints start with the base uri http://localhost:4000/api/v1
/items
returns all items/items/i/:id
returns the item with the corresponding id/skills
returns all skills/skills/s/:id
returns the skill with the corresponding id/pokemon
returns all pokemon/pokemon/p/:id
returns the pokemon with the corresponding id (aka PokeIndex)