DEV Community

WangGithub0
WangGithub0

Posted on

My forth Pull Request in Hacktoberfest23

I have finished three PRs before, here is my forth!

  1. My First Pull Request in Hacktoberfest23
  2. My second hacktoberfest PR
  3. My third Pull Request in Hacktoberfest23

This time I worked on project Qwik-X which is a social media web app like Twitter build with Qwikcity and use a lot of tech stack.

Image description

I find this issue to add link to user profile in post lists page. I did installation according to the setup and tried to set my local postgres. I could connect to my local postgres, but it throw the error, so I have to leave a comment on my issue. Luckily, the author reply me in the next day and advised me to use neon database since the author recently moved express server.

Image description

Image description

I tried using neon, but it throw the error "connection is insecure (try using sslmode=require)", I asked for help again, and got a new .env example. Hope the installation can be updated after the author's revising.

Image description

After all the setting, I got it!
Image description

I created the PR and tried to learn the structure of the code. I found there was a component folder and found the post-card.tsx which show the post card information. Before revising, all the card component is in the Link to /posts/${id}, so I have to move that Link only wrap the post text, and add Link for avatar, name, username to their profile page href={`/${author.username}/.

Despite encountering some difficulties during the installation of this project, I've gained valuable knowledge about new technologies like Postgres, Neon, and Qwik. Surprisingly, the process of making modifications was smoother than I initially anticipated. Perhaps next time, I can take on a more challenging issue. This experience has not only expanded my skill set but also boosted my confidence in tackling future projects.

Top comments (0)