Skip to content

Latest commit

 

History

History
63 lines (47 loc) · 1.58 KB

README.md

File metadata and controls

63 lines (47 loc) · 1.58 KB

Bitcoin Dashboard

A web app that automatically keeps up-to-date with the latest price of Bitcoin. The prices are automatically updated every minute via websockets.

Running Locally

Requirements

The API requires Ruby 2.5.1, Rails 5.2.0 and PostgreSQL 10.4 to run.

The client requires Node.js 8.11.3 and Yarn 1.6.0.

If everything is setup correctly, you should be able to see the following:

$ ruby -v
ruby 2.5.1p57 (2018-03-29 revision 63029) [x86_64-darwin17]

$ rails -v
Rails 5.2.0

$ psql --version
psql (PostgreSQL) 10.4

$ node -v
v8.11.3

$ npm -v
6.1.0

$ yarn -v
1.6.0

Server

Run the following commands from the api folder to install all server dependencies, create the database, run the migrations, seed the database with some sample data and start the server.

$ bundle
$ rails db:create
$ rails db:migrate
$ rails db:seed
$ rails s

Client

In a separate Terminal window, run the following commands from the client folder to install all client dependencies and start the React server.

$ yarn
$ yarn start

Built With

Server

  • Ruby on Rails
  • PostgreSQL

Client

  • React
  • Redux
  • ActionCable
  • Bootstrap

License

Completely free. Read more on the LICENSE file