Skip to content

MEITREX/course_service

Repository files navigation

Course Service

Description

The Course Service primarily focuses on the following core responsibilities:

  • Creating new courses and chapters.
  • Modifying existing courses and chapters.
  • Deleting courses and chapters.
  • Managing course memberships.

Environment variables

Relevant for deployment

Name Description Value in Dev Environment Value in Prod Environment
spring.datasource.url PostgreSQL database URL jdbc:postgresql://localhost:2032/course_service jdbc:postgresql://course-service-db-postgresql:5432/course-service
spring.datasource.username Database username root gits
spring.datasource.password Database password root secret
DAPR_HTTP_PORT Dapr HTTP Port 2000 3500
server.port Port on which the application runs 2001 2001

Other properties

Name Description Value in Dev Environment Value in Prod Environment
spring.graphql.graphiql.enabled Enable GraphiQL web interface for GraphQL true true
spring.graphql.graphiql.path Path for GraphiQL when enabled /graphiql /graphiql
spring.profiles.active Active Spring profile dev prod
spring.jpa.properties.hibernate.dialect Hibernate dialect for PostgreSQL org.hibernate.dialect.PostgreSQLDialect org.hibernate.dialect.PostgreSQLDialect
spring.sql.init.mode SQL initialization mode always always
spring.jpa.show-sql Show SQL queries in logs true false
spring.sql.init.continue-on-error Continue on SQL init error true true
spring.jpa.hibernate.ddl-auto Hibernate DDL auto strategy create update
DAPR_GRPC_PORT Dapr gRPC Port - 50001

GraphQL API

The API documentation can be found in the wiki in the API docs.

The API is available at /graphql and the GraphiQL interface is available at /graphiql.

Get started

A guide how to start development can be found in the wiki.

Releases

No releases published

Packages

No packages published

Languages