NOTE: This is an experiment and not finished.
The goal is to implement a Learning Record Store for the TinCan/Experience API that supports cloud content delivery.
The initial focus is Articulate Storyline which uses the alternative syntax (everything is a post) for all transactions.
Implemented with Node.js.
Data is stored in-memory for ease and speed of testing. Database drivers will be added once the main transactions are implemented.
- npm test
- Articulate Storyline
- Node.js with Express
- Middleware to support CORS and OPTION.
- Middleware to support methods verb override
- Handles routing when method=verb appears in the query string
- Middleware to extract the parameters
- Extracts the body from POST/PUT
- Handles form encoded data when the content type is json
- Extracts the actual JSON payload from the content parameter
- Middleware to extend the request object
- Adds functions to handle common TCAPI parameters
- State Handler - GET/PUT/POST/DELETE for State Requests
- Statement Handler - GET/PUT/POST/DELETE for Statement Requests
- GET /TCAPI/activities/state/
- PUT /TCAPI/activities/state/
- DELETE /TCAPI/activities/state/
- PUT /TCAPI/statements