The DevKit module "News" displays the latest news headlines, based on the personal interest and allows you to add them to your read later list. It's part of a collection of Open Source modules for the COBI.bike system.
The quickest way to test the module via Glitch.com:
Glitch.com allows you to edit, host and fork Node.js applications for quick prototyping.
Follow the installation step 2 to 3 and copy the environment variables to the: .env
file on Glitch.com
This module utilizes Newsapi.org to poll the latest news from various news outlets. The Node.js backend acts as a Newsapi.org proxy and serves a static page to the client, which allows the user to switch between headlines, read its description and add it to his read-later list.
You can easily deploy the module on your own:
Clone this repository and install Node.js dependencies with:
npm install
This module relies on Newsapi.org to poll the latest news from various news outlets. Create an account and retrieve your api key.
Set the environment variable NEWSAPI_KEY
with your credentials for newsapi.org
The module is accessible under localhost:3000 after starting the Node.js server with:
NEWSAPI_KEY=... node server.js
The settings menu can be accessed with the ?state=edit suffix.
Follow the instructions to install the COBI.bike Google Chrome Simulator and get familiar with the basics of module development on the COBI plattform.
- Debugging Tips & Tricks
- Inspiration & Examples
- Interface Guidelines
- More DevKit Resources
- Other Tools & Resources
Anyone and everyone is welcome to contribute to this project, the DevKit Simulator and the DevKit UI Components. Please take a moment to review the guidelines for contributing.
Copyright © 2018 COBI.bike GmbH