A minimal HackerNews client built with React, providing a clean and efficient interface for browsing trending stories, comments, and user profiles.
This project is a lightweight React application that fetches real-time data from the HackerNews API. It demonstrates modern React patterns including component composition, state management, and API integration.
- ✅ Browse top HackerNews stories
- ✅ View story details and comments
- 🚧 User profile pages
- 🚧 Favorite/bookmark stories
- 🚧 Search functionality
- 🚧 Dark mode support
- 🚧 Responsive mobile design
- React - UI library
- JavaScript (ES6+) - Language
- HackerNews API - Data source
- HTML5 - Markup
# Clone the repository
git clone https://github.com/rbalogic/react-hackernews-client.git
# Navigate to the project
cd react-hackernews-client
# Install dependencies
npm install
# Start the development server
npm startThe application will run on http://localhost:3000
src/
├── components/ # React components
├── pages/ # Page components
├── services/ # API services
├── styles/ # CSS files
└── App.js # Main App component
This project uses the official HackerNews API:
- Base URL:
https://hacker-news.firebaseio.com/v0 - No authentication required
- Fetch stories, comments, and user data
🚧 This project is under active development. Features and components are being built incrementally.
- Basic story listing
- Story details view
- Comment fetching
- User profiles
- Bookmarking system
- Performance optimization
- Search functionality
- Dark mode
- Mobile responsiveness
- Unit tests
- Error handling improvements
Contributions are welcome! Feel free to fork the repository and submit pull requests for any improvements.
This project is open source and available under the MIT License.
Note: This project is a work in progress. Check back for updates!