Skip to content

IONISx/edx-modulestore-node-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

edX Modulestore API

API for easy browsing of Open edX modulestores.

#How to Install and Run

$ sudo npm install -g grunt-cli
$ git clone https://github.com/IONISx/edx-modulestore-api.git
$ cd edx-modulestore-api
$ npm install
$ nano config.json  # Configure it, paste the following lines

    {
      "host": "localhost",
      "port": 6500,
      "url": "http://localhost:6500",
      "modulestore": {
        "mongo": {
          "uri": "localhost/edxapp"
        },
        "settings": {
          "lmsUrl": "http://localhost:8000",
          "studioUrl": "http://localhost:8001",
          "aboutFields": [
            "short_description",
            "overview"
          ]
        },
        "retryInterval": 500
      }
    }
    
$ nodejs index.js  # Run it

#Production Settings To be done. One thing to know, this app uses flatiron/nconf for configurations.

#Run Tests

$ grunt test

About

API for easy browsing of Open edX modulestores

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published