AdamVig / GoCoApi

API Server for the GoCoStudent app.
https://gocostudent.adamvig.com/api
GNU General Public License v3.0
0 stars 0 forks source link

Improve database support #25

Closed AdamVig closed 8 years ago

AdamVig commented 8 years ago

Currently, the database (the app only supports one database) is abstracted behind a simple interface supporting get and save operations, and nothing else. The database interaction is handled by the nano library. An instance of nano is instantiated in the db module and shared by all modules that depend on it.

Possible improvements:

AdamVig commented 8 years ago

Closing with the fourth list item incomplete because there is no current use for this functionality, so there is no motivation to add it until it becomes a need.