Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci
config
data
db
src
.gitignore
CHECKS
README.md
index.js
package-lock.json
package.json

README.md

pk-api

Welcome to Pokemon API

Setting up the database

Create a postgres database named pkapi

Make sure you have the following python modules installed:

pip install pandas
pip install psycopg2
pip install sqlalchemy

Once you've satisfied the prerequisites, make sure pkapi is running. Run the following command

npm run migration

To dump a copy of the database, run:

pg_dump pkapi --no-owner > initDB.sql

API Docs

/pokemon/

[
	{
		id: "1",
		identifier: "bulbasaur",
		height: "7",
		weight: "69",
		baseExperience: "64"
	},
	...
]