A web application that provides users with personalized news feed. Built with Node.js and React, it allows users to register, log in, and customize their news feed preferences.
- User registration and authentication
- Search for articles by keywords, date, category, and source
- Customize news feed by selecting preferred sources, categories, and authors
- Backend: Node.js, Express, MongoDB, Mongoose
- Frontend: React, Axios, React Router
- Authentication: JWT (JSON Web Tokens)
- APIs: NewsAPI, The Guardian, New York Times, BBC News
- Node.js
- MongoDB
- Navigate to
new-feed-app-server
directory:cd news-feed-app-server
- Install dependency:
npm install
- Create a
.env
file and add the following environment variables:PORT=5001 MONGO_URI=your_mongo_connection_string NEWS_API_KEY=your_newsapi_key
- Start the backend server
node index.js
- Navigate to
news-feed-app-client
directory:cd news-feed-app-client
- Install dependency:
npm install
- Start the frontend application
npm start
- Open your browser and navigate to http://localhost:3000.
- Register a new account or log in with an existing account.
- Customize your news feed preferences by selecting preferred sources, categories, and authors.
- Use the search functionality to find articles based on keywords, date, category, and source.
This project is licensed under the MIT License.