Open SpyCop opened 2 years ago
For a log
model:
For implementation, maybe use sequelize
like in SpyCop/better-chat-app
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
To save historical record of logs, a data base should be implemented