Skip to content

aberatcan/news-feed-app-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Features

  • User registration and authentication
  • Search for articles by keywords, date, category, and source
  • Customize news feed by selecting preferred sources, categories, and authors

Technologies Used

  • 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

Installation

Prerequisites

  • Node.js
  • MongoDB

Backend Setup

  1. Navigate to new-feed-app-server directory:
    cd news-feed-app-server
    
  2. Install dependency:
    npm install
    
  3. Create a .env file and add the following environment variables:
    PORT=5001 
    MONGO_URI=your_mongo_connection_string
    NEWS_API_KEY=your_newsapi_key
    
  4. Start the backend server
    node index.js
    

Frontend Setup

  1. Navigate to news-feed-app-client directory:
    cd news-feed-app-client
    
  2. Install dependency:
    npm install
    
  3. Start the frontend application
    npm start
    

Usage

  1. Open your browser and navigate to http://localhost:3000.
  2. Register a new account or log in with an existing account.
  3. Customize your news feed preferences by selecting preferred sources, categories, and authors.
  4. Use the search functionality to find articles based on keywords, date, category, and source.

License

This project is licensed under the MIT License.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published