git-stitch / Poke-Simple-Api

An Open Source anything but simple, simple Pokemon Api for building a Pokedex!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pokemon-font

Description: Welcome to Poke Simple API! This is a dual purpose training project for students, coding newbies, and professional devs that want to dip their toes into Open Source or need a simple API with multiple avenues of data to play with. JSON responses are curated to have the most relevant information first. This takes the overwhelming clutter of data Pokemon has and puts what you want into focus. If your looking to jump into Open Source this project will have issues that range from "New Adventurer" to "Champion". Common beginner issues will include typosss in the documentation and some Pokemon have data that needs to be fixed or added.

Professor Stein Says: Let's start your adventure already!

professor-stein

The Tech stack:

  • App: Poke Simple API is written primarily in Ruby on Rails. Rails offers a rigid eco-system that makes sure you don't shoot yourself in the foot unknowingly. This can be seen as hand holding but as I've seen dev's usually forget best practices.

  • Database: PostgresDB pairs well with Rails out of the gate and was essential for speeding up the development process.

  • Cache: Pokemon has a lot of reocurring data and if you ask for all the Pokemon at once this call could take a very long time to populate. To combat this we are using Redis for our cache support.

  • Environment: To take the hassle out of multiple development environments we have opted to use Docker for containerization. This could be seen as a barrier to development but, we will have a detailed installation setup to hopefully mitigate this issue.

Status: Version 1.0.0 and counting. CHANGELOG.

Site Coming Soon!

y-comm-worker-female

Why Poke Simple API:

  • Originally Poke API the largest open source Pokemon API didn't have the 8th generation of Pokemon for the last year. I intended to take what I liked from Poke API and fix the things I wish they did better. JSON responses that are easier to read and much less cluttered with information that's not truly necessary. If your trying to make your own Serebii.net then you will need a Pokemon Franchise API and that's what Poke API has become. If your looking for a lighter, dare I say "simpler" Poke API, Poke Simple API has your back.

Example Projects:

- A team builder with CRUD or 
- Authorization for your team builder, 
- Dynamic filtering of Pokemon by types, Gigantamax, abilities etc. 
- Try your hand at responsive web designs showing 1 pokemon to 10 in a row based on screen size.
- Build a Pokedex... duh 

Dependencies

The only dependency in the project is Docker. The docker file will download the correct Ruby image and will also bundle install the gem file for you. The docker-compose file will run the Redis, and Postgres image instances with the correct settings.

To Run Without Docker -Ruby v2.6.6 -Postgres 12 -Redis

Installation

Installation Documentation Coming Soon...

Getting involved

This project was made with contributions being one of the focal points. Come one! come all! Let's finish this Dex together.

Please see the issues on GitHub before you submit a pull request or raise an issue, nothing new under the sun and all.

Getting Started:

  • Fork the project to your own GitHub profile

  • Download the forked project using git clone:

    git clone [your forked link]
  • Create a new branch with a descriptive name:

    git checkout -b my_new_branch
  • Jump into the code. Fix some things, break some things, tell us about it after.

  • Commit your code and push it to GitHub

  • Open a new pull request and describe the changes you have made.

  • We'll accept your changes after review. Pull Requests will only be accepted with sufficient testing. Unless it's for typos and grammar.

Check out the full details in our CONTRIBUTING file.

gigantamax-snorlax

Open source licensing info

  1. TERMS
  2. LICENSE
  3. CFPB Source Code Policy

Credits and references

  1. Poke API thanks for being a great jumping off point.
  2. Serebii is a godsend. Where do you guys get your data from?
  3. Most importantly the game we all know and love (you better) Pokemon.

About

An Open Source anything but simple, simple Pokemon Api for building a Pokedex!


Languages

Language:Ruby 99.1%Language:Dockerfile 0.6%Language:Shell 0.2%Language:HTML 0.1%