https://github.com/oss/socindex
soc indexing code for mobile app
https://github.com/oss/socindex
Last synced: about 1 year ago
JSON representation
soc indexing code for mobile app
- Host: GitHub
- URL: https://github.com/oss/socindex
- Owner: oss
- License: mit
- Created: 2013-08-22T21:44:52.000Z (almost 13 years ago)
- Default Branch: master
- Last Pushed: 2013-08-23T15:14:27.000Z (almost 13 years ago)
- Last Synced: 2025-02-08T10:21:15.946Z (over 1 year ago)
- Language: JavaScript
- Size: 172 KB
- Stars: 1
- Watchers: 11
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# RU SOC index
This code is used in the Rutgers Mobile App to index / autocomplete
the RU SOC data.
## Testing
First, create indexes:
```shell
$ node indexer
```
Then, test an index using manual_test:
```shell
$ 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.