This project is currently in development. If you want to test it, please add .env file to backend/ directory
with the following content:
# Environment variables declared in this file are automatically made available to Prisma.
# See the documentation for more detail: https://pris.ly/d/prisma-schema#accessing-environment-variables-from-the-schema
# Prisma supports the native connection string format for PostgreSQL, MySQL, SQLite, SQL Server, MongoDB and CockroachDB.
# See the documentation for all the connection string options: https://pris.ly/d/connection-strings
DATABASE_URL=postgresql://user:password@postgres:5432/main-db
JWT_TOKEN=your-jwt-secret
# The following env variables are used for Prisma seeding.
INITIAL_ADMIN_EMAIL=your@email.sk
INITIAL_ADMIN_PASSWORD=your-passwordAnd .env file to services/payment-service/ directory with the following content:
SPRING_DATASOURCE_URL=jdbc:postgresql://postgres-payment:5432/payment-db
SPRING_DATASOURCE_USERNAME=your-username
SPRING_DATASOURCE_PASSWORD=your-password