API for getting student points from the TMC API, and passing them on to the dashboard frontend.
- Ruby version 2.3.1, Rails v5.0.4
TODO: more detail, but essentially this:
- download to a server
bundle install
- check conf settings in
config/application.rb
andconfig/environments/production.rb
bin/rails db:migrate
bin/rails db:seed
bin/rails server
Maybe this picture is of use:
╔═══════════════╗ ╔════════════╗
║ ║ ║ ║
║ Course page ║◁────────────────────────────▷║ TMC server ║
║ ║ ║ ║
║ ║ ╚════════════╝
║ ┏━━━━━━━━━━━┓═╝ ╔══════════════╗ △
║ ┃ Dashboard ┃ ║ Backend ║ │
║ ┃ frontend ┃◁────────▷║(this project)║◁───────────┘
║ ┗━━━━━━━━━━━┛═╗ ║ ║
╚═══════════════╝ ╚══════════════╝