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.
- Host: GitHub
- URL: https://github.com/solenoden/graphql-pokedex.backend
- Owner: Solenoden
- Created: 2020-10-31T17:38:48.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2025-01-23T06:33:26.000Z (5 months ago)
- Last Synced: 2025-01-23T07:28:02.370Z (5 months ago)
- Topics: backend, backend-api, graphql, javascript, mongodb, nodejs, project-13747926, skill-backend-development, tech-graphql, tech-javascript, tech-mongodb, tech-node
- Language: JavaScript
- Homepage:
- Size: 68.4 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.