A React-based news portal frontend application featuring categorized news browsing (Breaking, Business, Technology, Health, Sports) with Firebase authentication. This is the frontend-only implementation without backend packaging.
- Clone repository:
git clone https://github.com/yourusername/latest-news-frontend.git
- Install dependencies:
cd latest-news-frontend
npm install
- Configure Firebase: Create
.env.local
file with:
REACT_APP_FIREBASE_API_KEY=your_key
REACT_APP_FIREBASE_AUTH_DOMAIN=your_domain
REACT_APP_FIREBASE_PROJECT_ID=your_id
- Run development server:
npm start
- News category filtering
- Firebase user authentication
- Responsive UI
- News detail pages
- Mock news data implementation
- Uses React Context for state management
- Implements protected routes
- Mock data located in
src/data/
- No backend API integration yet
npm start
- Runs development servernpm run build
- Creates production buildnpm test
- Runs tests