Coder Social home page Coder Social logo

wjacobc / jie0333 Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 3.0 615 KB

Personalized newsfeed functionality for Studyfind.org, via Georgia Tech Computer Science's junior design program.

Home Page: http://studyfind.org

HTML 7.78% CSS 4.38% JavaScript 33.79% Python 54.04%

jie0333's Introduction

Release Notes

Current Features

  • Version number 1.0
  • Collects articles from NIH, CDC, NY Times, LA Times, WHO, NEJM, and HealthyUNH.
  • Maintains a custom Firebase database to store medical publications.
  • Front end newsfeed displays articles from database.
  • Articles can be filtered by tags to show articles relevant to the user.

There are currently no known bugs or defects in the project.

Install Guide

Python Scraper

Pre-requisites:

  • Python 3.6 installation
  • Set up Firebase project with initialized Realtime Database

Dependent libraries that must be installed:

  • Feedparser >= 6.0.2 (from pip)
  • Firebase-admin >= 4.5.1 (from pip)

Download instructions:

Build instructions (if needed):

  • None

Installation of actual application:

  • Valid API keys for the firebase_admin SDK must be placed in scraper/creds/credentials.json.
  • Follow the instructions from Firebase on this documentation page, up to and including the section titled “To generate a private key file for your service account”. Then store that key in the file listed above.
  • If all dependent libtaries listed above have been installed, the application is ready to be run.

Run instructions:

  • Run python scraper.py from the command line, or set up a cronjob or cloud function to run the scraper periodically.

React Frontend

Pre-requisites:

  • Functional server environment, existing React project to integrate Newsfeed into

Dependent libraries that must be installed:

  • Node.js and npm for package management
  • All Node packages listed in frontend/package.json, generally what is required for a single-page React application and Chakra-UI

Download instructions:

Build instructions (if needed):

  • None

Installation of actual application:

  • Run npm install to install all dependecies listed in package.json
  • Valid API keys for client access to the Firebase Realtime Database must be placed in src/firebase_config.js
  • Follow the instructions from Firebase on this documentation page, up to and including the section titled “Learn about the Firebase config object”. Then store that key in the file listed above.
  • If all dependent libtaries listed above have been installed, the application is ready to be run.

Run instructions:

  • Either use npm start to run the project as a single-page React app, or import the package into a different React project to use it as a component named Newsfeed.

jie0333's People

Contributors

wjacobc avatar sam1993316 avatar nini798 avatar ultraxblade avatar tedwards63 avatar

Watchers

 avatar  avatar

jie0333's Issues

CDC Scraper

Write code to scrape articles from CDC RSS feed.

WHO Scraper

Write code to scrape articles from WHO RSS feed.

NIH Scraper

Write code to scrape articles from NIH RSS feed.

NEJM Scraper

Write code to scrape articles from NEJM RSS feed.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.