A web app that automatically keeps up-to-date with the latest price of Bitcoin. The prices are automatically updated every minute via websockets.
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
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
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
- Ruby on Rails
- PostgreSQL
- React
- Redux
- ActionCable
- Bootstrap
Completely free. Read more on the LICENSE file