Giter Club home page Giter Club logo

news_filter's Introduction

News Filter

Install Dependencies

pip install -r requirements.txt

Setup Database

python manage.py makemigrations
python manage.py db migrate

Run Server

python manage.py runserver

To send notification E-mail

Configure Sender's Email and Password in .env file

Note

  • In current implementation, there are some fixis required.
    • Right now, any user can access all the things available

    • Single user can do vote multiple times and right now no details is stored about who has submitted which vote. (this needs improvement)

    • For fetching new news and sending notifications, right now I have started threads in backgroung on ready hook of app config (may be there could some better ways of this..) and at perticular interval it will fetch news (dont cares about duplicate news as there is no such things provided by api to get only new news.) and also sends notification mail to subscrined uses with link to submit theie vote.

    • For storing news, we may use in memory db/messaging queue/kafka pub-sub. these are my thoughts by whcih we may do it quite efficiently. but need to check and investigate.

    • At end, I tried to make it as per my understanding and knowledge, but there can be different implementation approach.

news_filter's People

Contributors

bharat097 avatar

Watchers

 avatar

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.