GithubHelp home page GithubHelp logo

hackernewsclone's People

Contributors

dependabot[bot] avatar rakhi2104 avatar sakethramanujam avatar v1nay8 avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

hackernewsclone's Issues

API request response format for listing news

Request

GET /news
Authorization: Bearer <token>

Response

200 OK
{ 
    "articles": [
                      {  "title"       : '...',
                         "source"  : '....',
                         "topic"     :'....',
                          "url"        :'....'
                       },
                      { ... },
                  ],
    "next": "url"
}
---
404 Not Found

Why this project?

Why this project?

Because we were discussing about the resourcefulness of hackernews. No doubt, it's fantastic. But the news is from all over world. We thought it might be a learning opportunity making a localized version of it.

What's in making a clone of something that's already there?

  • Understand and implement large scale systems.
  • Learn to write structured apis and structured code.
    It's Hacktoberfest folks!

What can be done?

What all can we do?

Categories for News

  • Tech
  • Finance
  • Startups
  • Meetups/Hackathons
  • jobs
  • Ask

Evalute Scraping vs Rss Feed Extraction

Rss feeds can be extracted for sties that dont have api's.There are couple of third party api's out there which help fetching data from rss feeds. Although some sites cleary state they dont allow rss feeds for third party publishing. This is something that needs to be explored bit more.

Setup an aysnc io script once the scrapers are in place

Add an Asyncio scripts that runs all scrapers in intervals to periodically update the db with news articles.

Decide on a workflow mechanism to run async scripts.
Whether it should be a client that the scraper should call or one single script that runs all the scrapers at once is up to you.

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.