feature(database-connection): First implementation

This commit is contained in:
2021-01-08 17:15:50 +01:00
parent bce2c8964e
commit ceea2a7616
15 changed files with 276 additions and 181 deletions

7
backend/.env Normal file
View File

@@ -0,0 +1,7 @@
# Environment variables declared in this file are automatically made available to Prisma.
# See the documentation for more detail: https://pris.ly/d/prisma-schema#using-environment-variables
# Prisma supports the native connection string format for PostgreSQL, MySQL and SQLite.
# See the documentation for all the connection string options: https://pris.ly/d/connection-strings
DATABASE_URL="postgresql://johndoe:randompassword@localhost:5432/mydb?schema=public"