Choose from different Reddit feeds and see the comments.
This is a Next.js project bootstrapped with create-next-app
.
- Browse Reddit feeds: Hot, New, and Top posts
- Paginated list of articles
- View and hide comments for each article
- Responsive UI with Bootstrap
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.
Run existing tests in the terminal:
npm test
# or
yarn test
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
- next
- react
- react-dom
- bootstrap
- enzyme (for testing)
- jest (for testing)
MIT (add your license here)