// readme

OnTrack API

OnTrack (formerly Doubtfire) is a feedback-driven learning support system. This repository contains the Rails and Grape API used by OnTrack.

Development and deployment

Use the doubtfire-deploy repository for the supported development environment and the deployment guide. It checks out this API as a submodule and provides the database, Redis, PDF services, web app, and required configuration in one place.

When the development environment is running, the API documentation is available at http://localhost:3000/api/docs/.

Environment variables

The API supports the environment variables below. The production deployment template is maintained in doubtfire-deploy. An unset variable uses its application default where one exists; an empty value may override that default with an empty string.

Application and database

| Variable | Purpose | Default | | --------------------------- | ----------------------------------------- |โ€ฆ