Giter VIP home page Giter VIP logo

reddit-client's Introduction

Diddit = Reddit Client for sewing & Crafts subreddits

This project was made as a part of Codecademy's Front-end engineer career path. The purpose was to create a minimalistic Reddit Client using React and Redux. Because of my love for DIY projects, I decided to devote the client to Sewing and Crafts subreddits. For making the application more visual I decided to only show the posts that have pictures.

The application allows the user to view the posts of two subreddits, search posts within the subreddit with a search term and see stats and main comments of each post.

Visit the deployed application here: https://cosmic-kringle-9deec8.netlify.app

Wireframes

Here are the wireframes I planned for different screen sizes:

MacBook Air_2 iPhone 13 in 5 colors_1

Technologies used

  • React
  • Redux
  • Redux Toolkit
  • Jest & RTL

Features

  • Shows posts for crafts and Sewing categories
  • Updates the feed based on the selected category
  • Allows the user to search for posts in the selected category with a search term
  • Shows the main comments and stats for each post
  • Allows the user to view the original Post on Reddit

Limitations

  • For now, the application doesn't show the comment replies, only the original comments
  • user can't comment or give votes directly in the application

Future work

  • Fetch the comment replies as a part of the comments view
  • Show the comment author's profile picture on the comment's view
  • Refactor the code to make testing easier
  • write tests for each relevant component

Personal experience

In the beginning, I was overwhelmed and was not even familiar with Reddit and how it works. After getting some inspiration and getting more familiar with Reddit, I decided to take one step at a time and found the flow. In the end, the project thought me a lot and help me to get more comfortable using React and Redux. The project itself was super rewarding and even though I am not 100% happy with the code I pulled it through. If I would start the project from start again I would structure the code differently and divide the components and actions into smaller functions that would be easier to test.

well live & learn ☺️

Any feedback is highly appreciated.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.