soc indexing code for mobile app
JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
indexes
.gitignore
LICENSE
README.md
autocomplete.js
cross.js
indexer.js
manual_test.js
package.json
test.js

README.md

RU SOC index

This code is used in the Rutgers Mobile App to index / autocomplete the RU SOC data.

Testing

First, create indexes:

$ node indexer

Then, test an index using manual_test:

$ node manual_test indexes/92013_NB_U.json

How is this used in the app?

The server runs the indexer code and drops the indexes here:

https://rumobile.rutgers.edu/1/indexes/

Then, the mobile app loads one of these indexes and pops it into the code in autocomplete.js, which actually does completions for SoC data. The list of courses for a subject is pulled from the SIS API, and individual course data is pulled from the SIS API as well.