graphql graphql-tag graphql-yoga knex pg pm2 require-graphql-file dotenv
passport passport-facebook-token passport-google-token jsonwebtoken
passport-google-oauth20 passport-discord cookie-parser express-jwt
// reddit-pokeml bucket id 2cf9e1356fe464b063d40d1a
git clone https://github.com/antoniojps/graphql-authentication.git
http://abashev.com/articles/oauth2-refresh-tokens-in-passport-js/ passport-oauth2-refresh
// migrate knex migrate:latest
// run seed knex seed:run
This repository contains:
- data/api: a static copy of the JSON data generated with the above script
- data/schema: a static copy of the PokeAPI schema generated from the above data
- updater: a Ditto based bot that runs in docker and can update the data stored in this repo
If you'd like to use the JSON for your own purposes, you can apply your own base URL using Ditto:
ditto transform --base-url='https://pokeapi.co'
You can manually update the data if necessary. See the updater bot. You can run the bot in docker, or read and adapt its update script yourself.