Git Product home page Git Product logo

newsaggregator's Introduction

NewsAggregator

OpenSource news aggregator inspired by YCombinator's HackerNews This project is purely a sandbox for playing around.

Licence: MIT

Layout

Back-end

Server is a REST api based on NodeJS using express. MongoDB as a datastore for experimenting with. Websockets are invoved too however have not been plmbed in yet.

Front-end

The provided UI is an Angular based project, with extremely basic layout. Angular was chosen to discover the best methods of optimizing the release packaging.

Getting Started

Note: Currently there is only support for MongoDB so you will need to have this installed/server available.

To get up and running, in the root folder there is a 'config.json' you can fill in the details there. Then you can start the nodeJS Server node main.js

Front-end

There is a file located in : public\gamersofanews\src\app\config.json

Using the port you specified in the config.json add this to the file and the api_base_url

for example : "api_base_url": "http://localhost:5000/api/",

Also the suffix api is required unless you update the server api routes.

Once updated you can run the standard angular commands. Example : ng serve

Which will serve the angular site on port 4200 by default.

TODO:

A lot.

  • Custom aggregator to balance listings based on the aggregate_score
  • Add Database connector for other DB types.
  • User Registration & Role system
  • Admin system for deleting & moderating
  • Cron/Scheduled jobs for aggregation
  • Optimisation of angular packaging.

newsaggregator's People

Contributors

klexas avatar

Watchers

 avatar  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.