SpyCop / cleanup-logger

Node.js Web application for visual logging on OSM of stray litter cleanup
0 stars 0 forks source link

Set up data base for saving logs #4

Open SpyCop opened 2 years ago

SpyCop commented 2 years ago

To save historical record of logs, a data base should be implemented

SpyCop commented 2 years ago

For a log model:

For implementation, maybe use sequelize like in SpyCop/better-chat-app

SpyCop commented 2 years ago

A newer/better idea is to use Elasticsearch. This needs to be set up in such a way that the NodeJS app can interact with it as database, and allows for saving and querying on the JSON data in the app