An open API service indexing awesome lists of open source software.

https://github.com/solenoden/graphql-pokedex.backend

A pokedex-esque GraphQL app which allows you to query a MongoDB database of pokemon.
https://github.com/solenoden/graphql-pokedex.backend

backend backend-api graphql javascript mongodb nodejs project-13747926 skill-backend-development tech-graphql tech-javascript tech-mongodb tech-node

Last synced: 4 months ago
JSON representation

A pokedex-esque GraphQL app which allows you to query a MongoDB database of pokemon.

Awesome Lists containing this project

README

        

# GraphQL-Pokedex
A pokedex-esque GraphQL app which allows you to query a MongoDB database of Pokemon.

## Requirements

- Node 12+
- Docker

## Getting Started

1. Start dependencies (MongoDB) with `npm run start-containerized-environment`
2. Start api with `npm run start` or `npm run serve`
3. Query the api using the Angular Web or Flutter Mobile front-ends. Alternatively, use a Postman GraphQL request.

## Database

The database is seeded with the original 151 Pokemon as well as the current, modern day PokeTypes.

The seeding occurs when the database container is created, using the `init-db.js` file.