Skip to content

mikelangmayr/reddit-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Reddit client

Choose from different Reddit feeds and see the comments.

This is a Next.js project bootstrapped with create-next-app.

Features

  • Browse Reddit feeds: Hot, New, and Top posts
  • Paginated list of articles
  • View and hide comments for each article
  • Responsive UI with Bootstrap

Getting Started

First, install dependencies:

npm install
# or
yarn install

Then, run the development server:

npm run dev
# or
yarn dev

Open http://localhost:3000 with your browser to see the result.

You can start editing the page by modifying pages/index.js. The page auto-updates as you edit the file.

Testing

Run existing tests in the terminal:

npm test
# or
yarn test

Project Structure

  • pages/ - Next.js pages (entry points)
  • components/ - React components (PaginatedList, CommentSection)
  • public/ - Static assets (e.g., loader.gif)
  • .next/ - Build output (auto-generated)
  • jest.config.js - Jest configuration

Dependencies

  • next
  • react
  • react-dom
  • bootstrap
  • enzyme (for testing)
  • jest (for testing)

License

MIT (add your license here)

About

Choose from different Reddit feeds and see the comments.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •