peterpaints / learnersdigest

Home Page:https://learnersdigest.herokuapp.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build Status Coverage Status

Learner's Digest

Intro

This app functions like this: You select a few topics of interest, for instance, Sinatra, Rails, Data Structures, etc, and it will send you a daily digest with a curated list of tutorials/articles that you'll love!

Find it here: Learner's Digest

Every article is fetched from the always reliable NewsApi

Dev Tools

This are the tools I used:

Installation

Clone this repo to your local machine: Open terminal in any folder and type:

git clone https://github.com/peterpaints/learnersdigest.git

Switch to the develop branch using:

git checkout develop

Create two postgres dbs:

createdb microlearn_dev
createdb microlearn_test

Create a .env file with the following sample settings:

EMAIL_USERNAME=your_gmail_username
EMAIL_PASSWORD=your_gmail_password
DATABASE_DEV=postgres://localhost:5432/microlearn_dev
DATABASE_TEST=postgres://localhost:5432/microlearn_test

Run bundler to install gems (dependencies)

bundle

Finally, start the app!

bundle exec rerun 'ruby microlearn.rb'

Or, simply:

rerun rackup

Contribution

Feel you have something you'd like to see added? Raise a PR!

Tests

Run tests with one simple command:

rspec

If that doesn't work, try:

bundle exec rspec

License

The MIT License

About

https://learnersdigest.herokuapp.com/

License:MIT License


Languages

Language:Ruby 48.9%Language:HTML 23.1%Language:CSS 19.8%Language:JavaScript 8.3%