This is an Django-based Pokémon REST API. Your job is to fix 5 issues:
- Update
/pokemon
endpoint to include a Pokémon's type. - Implement Get Pokémon by ID
- Implement Get Pokémon by Name
- Implement Get Pokémon by Type
- Implement Get Pokémon by HP (with Query Params)
Once you create a pull request with your changes, our automated test runner will validate your code to check if it is correct. No need for manual review!
You will learn and gain experience with:
- Django Rest Framework
- Django Models
- Django Views
- Django Serializers
- Filtering
- HTTP Status Codes
- RESTful API Design
- Make sure you have python 3.X installed. (Tutorial)
- Fork this repo and clone it locally.
- enter the repo directory and run
pip install -r requirements.txt
to install dependencies. - run
python manage.py runserver
to start the development server. - Browse the
pokemon
directory of the project in your IDE to start exploring the codebase. - Fix all the issues (hints are provided as TODO comments in the code)
- Once all your solutions are complete, create a single Pull Request to this repository
- Check if your solutions passes our automated tests.
The best way to ask for help is to ask our Discord community.
Click here to join the Jobsimulator.dev Discord.
Browse our list of challenges and join our Discord to get notified when new challenges are released.