Working backend setup with endpoints and database setup for adventures.

This commit is contained in:
2019-02-18 22:42:52 +01:00
parent ba1070d5b2
commit cfd0b88987
26 changed files with 3083 additions and 0 deletions

27
src/db/config/config.json Normal file
View File

@@ -0,0 +1,27 @@
{
"development": {
"username": "kevinmidboe",
"password": null,
"database": "postgres",
"host": "localhost",
"port": 5432,
"dialect": "postgres",
"operatorsAliases": false
},
"test": {
"username": "root",
"password": null,
"database": "database_test",
"host": "127.0.0.1",
"dialect": "postgres",
"operatorsAliases": false
},
"production": {
"username": "root",
"password": null,
"database": "database_production",
"host": "127.0.0.1",
"dialect": "postgres",
"operatorsAliases": false
}
}