Skip to content

Add basic SQLite implementation to track viewers created #18

@BeebBenjamin

Description

@BeebBenjamin

We need to add an SQLite implementation (it seems to be included in node.js: https://nodejs.org/api/sqlite.html) so that we can better manage user viewer creation. I would like to add the following API functions to facilitate this:

  1. Create new viewer (including all the metadata needed)
  2. Read and existing viewer or viewers
  3. Update an existing viewer
  4. Delete an existing viewer

We should have API routes for these functions and new methods called by them. I would like the new system to be as RESTful as possible: https://www.geeksforgeeks.org/node-js/rest-api-introduction/

Once this is in place, it paves the way for future improvements such as the ability to write persistent annotations into the static manifest.

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions