SMILEConsortium / node-smile-server

3 stars 4 forks source link

Teacher's would like to be able to persist Classroom session results #10

Closed truedat101 closed 10 years ago

truedat101 commented 11 years ago

Save classroom results as a JSON data set with a timestamp. Decide whether this is best done as simple JSON files in the FS, or do we need some form of database?

truedat101 commented 11 years ago

Juan, can you create a route to persist data, which takes an argument, persistence-backend: [filesystem, pouchdb, leveldb]. For now, we'll only implement with filesystem. It also takes a JSON object containing the data to backup.

pinazo commented 11 years ago

Ok, working on this.

pinazo commented 11 years ago

I've created two routes:

All data is persisted on application root/storage.

truedat101 commented 11 years ago

Need to add api CRUD inquiry question data, and allow user to set in the api set the filename when saving, and choice of a folder or nested folders. We'd like to then also be able to retrieve the question set later by filename (question set name).

truedat101 commented 11 years ago

We also need an api get all question sets (from any available persistence scheme: filesystem, leveldb, pouchdb.

truedat101 commented 11 years ago

This will get repaired/done on #26. I'm adding something called Persisteus.js which is just a simple wrapper around PouchDB.

truedat101 commented 10 years ago

Working in #26. Close.