How to store files with meta data in LoopBack?

Here’s the full solution for storing meta data with files in loopback. You need a container model common/models/container.json { “name”: “container”, “base”: “Model”, “idInjection”: true, “options”: { “validateUpsert”: true }, “properties”: {}, “validations”: [], “relations”: {}, “acls”: [], “methods”: [] } Create the data source for your container in server/datasources.json. For example: … “storage”: { … Read more