This is a Pokemon API based on PokeAPI. Your job is to fix 4 issues:
- Implement Get Pokemon by ID
- Implement Get Pokemon by Name
- Implement Get Pokemon by Type
- Implement Get Pokemon by HP (with Query Params)
Please refer to the API Swagger documentation for clear specifications of the API's intended behavior. You can find the Swagger docs at http://localhost:3000/api-docs.
You will learn and gain experience with:
- TypeScript
- Express Routes
- Query Params
- HTTP Status Codes
- Route HTTP Methods
- RESTful API Design
- Manual Input Validation
- Swagger
- Fork this repo and clone it locally.
- enter
src
directory and runnpm install
to install dependencies. - run
npm start
to start the development server. - Open src/app.ts in your IDE to start exploring the codebase.
- Open http://localhost:3000/api-docs to view the Swagger docs. This is where you can find the API specifications.
- 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.