An open API service indexing awesome lists of open source software.

https://github.com/jonathanfunk/griddit

Web application that displays Reddit posts in a grid using Reddit API.
https://github.com/jonathanfunk/griddit

es6 javascript react reddit-api redux

Last synced: 2 months ago
JSON representation

Web application that displays Reddit posts in a grid using Reddit API.

Awesome Lists containing this project

README

          

Griddit
======

## Project
Single page web application that displays top subreddit posts in a grid using Reddit API. Users have control over what subreddit they wish to display.

## Technology
* Visual Studio Code Text Editor
* Webpack
* React
* Redux
* Javascript/JSX
* Command Line Interface
* Git/Github

## Learning Experience
Ever since I worked on my Instanews Project where I make API calls to New York Times, I wanted to achieve the same effect using Reddit API. This time I chose to work with React. I called Reddit API using Redux Thunk and Redux to create actions such as request posts, receive posts & invalidate.

Because the images differ in size, I wanted my posts to display the same way Pinterest does. To achieve this, I used column styles which is something I never used before. I am very happy with the results. Working on this project with React made me realize how fast the library is changing. Just a few weeks ago, I used the React.PropTypes helper but this time it prompted me to use the prop-types library from NPM.

This is a good start for this project. After looking at the API's different response types, I have ideas for more features I would like to implement in the future.