DEV Community

Michael Brackett
Michael Brackett

Posted on

Release 2.0 pr-4

For my fourth and final issue that I decided to work on I wanted to take a different approach to open source development.

The repo that I chose to work on is: https://github.com/redxzeta/Awesome-Adoption which is a website that aggregates pets that need to be adopted.

I wanted to expand on my graphic design skill as that is a good tool to have when working as a Web Developer, so I decided to take this issue: https://github.com/redxzeta/Awesome-Adoption/issues/32

I decided to use Paint.net which is a free application.

In the end I created a pretty nice (at least I think so) placeholder image for the website

image

So now after around 30 minutes creating this I thought it would be a walk in the park to add it into the repo. Boy was I wrong, this issue took me longer than any other pull request for hacktoberfest.

At first, I needed to get my own API key for the API that the website was using the fill the pets dynamically, so I signed up for that and followed the instructions on the README.md file. Everything was working until I encountered a CORS issue. Randomly I just was not able to access my API anymore cause of CORS, and I couldnt test to see if my code worked. I had to manually plug in all my API credentials into the code to get it to run (this was after a long time of trying to find why I was getting this issue in the first place). Afterwards once I got it to work I had MAJOR issues trying to get the image to load when you built to program since the way the owner coded it made is so that I couldnt just put the route to the image in, instead I had to make an if statement inside the React return statement. Sounds pretty easy when I type it out but it took me a very long time to just get to this stage and trying to figure out how to work with the owners code.

You can find more on my issue here:
https://github.com/redxzeta/Awesome-Adoption/pull/35#issuecomment-719203587

All in all it was still a very educational issue for me because it taught me how to work with things that were even out of the repo maintainers hands (i.e. the API not working).

Even though I didn't think this pull request would have a lot of coding in it since I wanted to try another form of Open Source development, did I ever run into some HUGE issues for myself when working with the code portion.

Do your career a big favor. Join DEV. (The website you're on right now)

It takes one minute, it's free, and is worth it for your career.

Get started

Community matters

Top comments (0)

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

đź‘‹ Kindness is contagious

Immerse yourself in a wealth of knowledge with this piece, supported by the inclusive DEV Community—every developer, no matter where they are in their journey, is invited to contribute to our collective wisdom.

A simple “thank you” goes a long way—express your gratitude below in the comments!

Gathering insights enriches our journey on DEV and fortifies our community ties. Did you find this article valuable? Taking a moment to thank the author can have a significant impact.

Okay