feat: add backend

This commit is contained in:
Anselm Stordeur
2019-01-08 12:26:15 +01:00
committed by Rainer Killinger
commit 16bbb7e9e3
66 changed files with 6939 additions and 0 deletions

25
config/elasticsearch.ts Normal file
View File

@@ -0,0 +1,25 @@
import { ElasticsearchConfigFile } from '../src/storage/elasticsearch/common';
/**
* This is the default configuration for elasticsearch (a database)
*
* University specific files can be created with following naming scheme: elasticsearch-<university license plate>.ts
*
* To select your university specific configuration which is merged from this default file and your university specific
* file, you have to supply the `NODE_APP_INSTANCE` environment variable with your license plate
*
* To select a differen database you have to supply the `NODE_CONFIG_ENV` environment variable with a database name that
* is implemented in the backend
*
* To get more information about the meaning of specific fields please use your IDE to read the TSDoc documentation.
*/
const config: ElasticsearchConfigFile = {
internal: {
database: {
name: 'elasticsearch',
version: '5.5',
},
},
};
export default config;