Skip to content

This is a voice-controlled news app in which you can read ,listen and save news.

Notifications You must be signed in to change notification settings

rajgautam-cloud/newsistic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Newsistic

A interesting way to remain updated with the happenings around the world with your virtual assistant Alan. You can ask Alan any kind of news you want and also bookmark the news you like or want to read it later.

Click on link below to view its amazing features .

Newsapi.org does not provide articles on its developer plan(i.e. cors is available only for localhost) so this website does not show articles when hosted. Watch this demo to view this website

Snapshots of the Hosted Project

HomePage

BookmarksPage

SignInPage

AlanCommandsPage

Overview

  • Pages:

    • Home Page

      • It shows lastest news and a header containing various buttons
      • A sidebar containing different categories.
    • Bookmarks Page

      • It shows news bookmarked by the user.
      • User can also delete the articles from bookmarked news.
    • Commands Page:

      • Show all the commands needed to Search news.
    • SignIn Page

      • Sign in and Sign up options
      • New user can use Sign up to sign in through Email and Password.
      • Sign in with Google button.
  • Methods:

    • Alan Button

      • Different Alan commands.
      • New user can read the alan commands from commands page.
      • Makes the app voice controlled and interesting.
    • Search Bar

      • Option to search the news by typing.
      • If user wants news about a particular topic he can use it.
      • It makes the interaction faster.
    • Side Bar

      • Option to click the different categories.
      • User can get the news only by clicking.

Starting the Dev Server

  • Clone the repository to your local system. https://github.com/rajgautam-cloud/newsistic

  • Firebase API Setup:

    1. Go to Firebase Console and follow the steps to create a new Firebase project.

    2. Select </> , Add a project via Code.

    3. Create a new web app using the steps provided on the console.

    4. You will recieve a firebasConfig object with the first paramter as API key. Copy it, which will look something like:

              cosnt firebaseConfig = {
              apiKey: "process.env.REACT_APP_FIREBASE",
              authDomain: "AUTH_DOMAIN",
              projectId: "PROJECT_ID",
              storageBucket: "STORAGE_BUCKET",
              messagingSenderId: "*************",
              appId: "******************************",
              measurementId: "*************"
            };
    5. After you get the Firebase API key, create a .env file in the root folder of the repository

    6. Insert the folowing snippet in the file

       REACT_APP_FIREBASE="API_KEY_HERE"
      
  • News API Setup:

    1. Go to the following link and set up a new project from https://newsapi.org//

    2. Get the Api key

    3. A new API key will be generated. Copy it in the .env file.

           REACT_APP_NEWSAPI="API_KEY_HERE"
      
  • Ensure that .env is added in .gitignore file.

  • In the root folder and enter the following commands in the CLI

        npm i or yarn
        npm start or yarn start
    
  • If you wish to contribute, either look for issues already created or create an issue if you have a new idea.

About

This is a voice-controlled news app in which you can read ,listen and save news.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published