Adohk / Crypto

Cryptocurrency tracker made with Ruby on Rails & React

Home Page:https://spduk-crypto.herokuapp.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

README

https://spduk-crypto.herokuapp.com/

Putting it aside for now because it's incredibly clunky, the cryptocurrency API is incredibly slow sometimes taking up to 50 seconds to make a single fetch and the react router isn't working properly, if you visit /profile for example, it just shows json instead of the real page.

Basically there are too many small/weird problems I am having with Rails to figure it out right now being too new to it.

It does work though. You can sign up and add/remove coins, it shows the price of each and it persists. It doesn't redirect after you login (because of router problems) so you have to manually visit your profile from the navbar.

Friends list is fake and does nothing.


To add the top 100 cryptos to the database and run There is a function inside seeds.rb that makes an api call to coinmarketcap.

The API is very slow at times, sometimes it will finish loading things instantly and others it could take up to 20 seconds to finish, but it does all work as it should, if the API worked faster there would be no problems at all. If it takes too long to load then just refresh the page and by magic it might load instantly.

bin/rake db:reset

To start the dev server bin/rake start or you can manually start the server with bin/rails s -p 3001 and to start the client yarn --cwd client start

This README would normally document whatever steps are necessary to get the application up and running.

Things you may want to cover:

  • Ruby version

  • System dependencies

  • Configuration

  • Database creation

  • Database initialization

  • How to run the test suite

  • Services (job queues, cache servers, search engines, etc.)

  • Deployment instructions

  • ...

About

Cryptocurrency tracker made with Ruby on Rails & React

https://spduk-crypto.herokuapp.com/


Languages

Language:JavaScript 62.6%Language:Ruby 31.1%Language:CSS 5.5%Language:HTML 0.9%