Angular 4 on Rails 5.1.4 Second By Second Crypto Currency Ticker And Daily Crypto Currency News Article Scraper
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
bin
config
db
lib
log
public
test
vendor
.babelrc
.gitignore
.postcssrc.yml
Gemfile
Gemfile.lock
README.md
Rakefile
config.ru
package-lock.json
package.json
tsconfig.json
yarn.lock

README.md

Ng-Cryptohub

Angular 4 on Rails 5.1.4 Crypto Currency Ticker And Daily Crypto Currency Article Accumulator via Nokogiri

To run locally you must have ruby 2.4.1 or greater installed along with yarn/node, rails 5.1.4, and npm

FEEL FREE TO DONATE

ETH: 0x4138c059b1c99dad7828543fa443fca631135aa9

EOS: 0xf892c34774d1652899614db467b8848ee8f5d328

BTC: 32XmcnJwKDS52VbXpH1HaR13vyM1Tcud1i

Portfolio

LinkedIn

Drop me an Email

  • git clone https://github.com/Alex1100/angular-rails-crypto-ticker
  • cd angular-rails-crypto-ticker/
  • bundle install
  • npm install or yarn install
  • bundle exec rails secret
  • export SECRET_KEY_DEV=generated_secret
  • bundle exec rails secret
  • export SECRET_KEY_TEST=generated_secret
  • bundle exec rails secret
  • export SECRET_KEY_BASE=generated_secret
  • rails db:setup

FOR DAILY AUTO SCRAPING, USE CRON JOBS

  • whenever --update-crontab Note: to change cron job, go to config/schedule.rb and edit cronjob settings there

FOR SCRAPING AT WILL RUN THE FOLLOWING IN THE COMMAND LINE AFTER STARTING THE SERVER

  • rails s

  • bundle exec rake grab_articles

  • bundle exec rake remove_dup_artcls

  • In a seperate terminal window run bundle exec ./bin/webpack-dev-server

TO CURL ARTICLES AND STORE THEM LOCALLY IN YOUR DB

App is now running live on http://localhost:3000

screenshot

screenshot

Technologies

  • Ruby
  • Rails
  • Webpack/Webpacker
  • TypeScript
  • JavaScript
  • Angular 4
  • Nokogiri (for data scraping daily crypto currency articles)
  • PostgreSQL
  • Yarn
  • Npm
  • Livecoin API
  • C-Cex API
  • HitBTC API

Portfolio

LinkedIn

Drop me an Email

FEEL FREE TO DONATE

ETH: 0x4138c059b1c99dad7828543fa443fca631135aa9

EOS: 0xf892c34774d1652899614db467b8848ee8f5d328

BTC: 32XmcnJwKDS52VbXpH1HaR13vyM1Tcud1i