https://github.com/hackjutsu/pokemongo-map-poc-demo
Demo for Pokemongo map
https://github.com/hackjutsu/pokemongo-map-poc-demo
aws-apigateway demo pokemon pokemongo
Last synced: about 1 year ago
JSON representation
Demo for Pokemongo map
- Host: GitHub
- URL: https://github.com/hackjutsu/pokemongo-map-poc-demo
- Owner: hackjutsu
- License: mit
- Created: 2017-04-23T07:38:49.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-04-29T04:02:16.000Z (about 9 years ago)
- Last Synced: 2025-02-07T20:23:02.556Z (over 1 year ago)
- Topics: aws-apigateway, demo, pokemon, pokemongo
- Language: JavaScript
- Homepage: http://hackjutsu.com/pokemongo-map-poc-demo/
- Size: 5.45 MB
- Stars: 2
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# PokemonGo Map Demo
>Disclaimer: This is a POC(proof of concept) project improved from [chenditic](https://github.com/chenditc)'s original design for education purpose.

## Demo
http://hackjutsu.com/pokemongo-map-poc-demo/
## Data source
All Pokemon data, which are essentially fake, are generated randomly by a [mock API](https://github.com/hackjutsu/mock_pgoapi). In principle, there is no communction between the crawlers and the real Pokemon Go servers.
## System Architecture

A distributed crawler system that achieves heuristic data crawling based on geographical location information, said system comprising:
1. A web app sends network requests with said geographical locations information to an API gateway,
2. An API gateway subsystem constructed by said API gateways, routes said requests to a query cluster,
3. A query subsystem constructed by said query cluster, queries for Pokemons data based on said geographical locations information from a database on AWS, and returns said Pokemon data to said web app, and sends said geographical locations information to message queues,
4. A message queue subsystem constructed from said message queues, stores said messages from said query subsystem, and provides said messages to a crawler cluster
5. A crawler subsystem constructed by said crawler cluster, retrieves said geographical locations information from said message queue subsystem, and gets fake Pokemons data from a mock Pokemon go API, and saves said fake Pokemons data to a database,
4. A database subsystem constructed by said database, stores said Pokemons data.
>This repository contains an implementation for the web app. An implemenation for the query server and an implementation of the crawler server can be found [here](https://github.com/hackjutsu/pokemongo-map-poc).
## Resource
- [mock pkgoapi](https://github.com/hackjutsu/mock_pgoapi)
- [pokemonGo map webapp boilerplate](https://github.com/hackjutsu/pokemon-go-map-boilerplate)
## License
[MIT](./LICENSE)