/newsfeed

This project includes a REST API which is built using python bottle framework and a SPA built using vue.js which consumes the REST API and displays the data in a grid.SPA built using node.js express framework.created it using vue-cli.

Primary LanguageJavaScript

NewsFeed

This project includes a REST API which is built using python bottle framework and a SPA built using vue.js which consumes the REST API and displays the data in a grid.SPA built using node.js express framework.created it using vue-cli.

Getting Started

Clone or Download this repo.go inside the folder through command line .install required python libraries if it is not installed. Bottle,lxml,cssselect. sudo pip install lxml sudo pip install bottle sudo pip install cssselect run python newsapp.py command.hit local host http://localhost:3000/ in browser.REST API is up and running. Go inside NewsClusterPro folder in command line and give npm install. and execute npm start command.

Prerequisites

You’ll need Python 2.7 or newer (including 3.2+) to run bottle applications. Requires Node.js.It is recommended to use npm 3+ for a more efficient dependency tree.

Installing

You can install bottle using PyPI. use this command to install PyPI. sudo easy_install pip

$ sudo pip install bottle # recommended $ sudo easy_install bottle # alternative without pip $ sudo apt-get install python-bottle # works for debian, ubuntu, .. Requires Node.js.It is recommended to use npm 3+ for a more efficient dependency tree.