Skip to content

restfulapi to get pokemon iv and other details with a delightful webUI

License

Notifications You must be signed in to change notification settings

RJHsiao/pokemon-go-diary

 
 

Repository files navigation

Pokemon Diary

Restfulapi server for getting your pokemon's IV, CP and other details including height, weight and nickname in JSON with a delightful webUI

Features

  • Simple restful api to query pokemon data
  • WebUI to show pokemon details
  • Dockerfile for fast deployment
  • Login with google account
  • Login with PTC account (testing)
  • Sort by condition
  • WebUI Refactor

Install

  1. npm install
  2. npm install -g webpack
  3. npm run all

Usage

  • to acces the UI page
    • http://localhost:8887/
  • to call the backend api
    • curl -H "Content-Type: application/json" -X POST -d '{"username":"xxxxx", "password": "xxxxx"}' http://localhost:8887/pokemon/list

Develop UI

npm run ui-dev

Build UI

npm run ui-build

Deploy with Docker

  1. docker build -t pkm-journal:latest .
  2. docker run -d -p 9999:8887 --name=pokemon-journal pkm-journal:latest

Screenshot

Demosite

http://ilcic.synology.me:9696/

About

restfulapi to get pokemon iv and other details with a delightful webUI

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 98.3%
  • Other 1.7%