- Annotate create, update, and delete methods in CharacterService and ScenarioService with @Transactional to ensure proper transaction management. - Add @Transactional annotation to the createUser method in UserService for consistency in transaction handling across services. - Enhance data integrity and consistency during operations involving character, scenario, and user management.
RolePlay
Minimal Quarkus (Java 21) project scaffold for the RolePlay service.
Structure
src/main/java/de/neitzel/roleplay: startup and base packagesrc/main/java/de/neitzel/roleplay/business: business logicsrc/main/java/de/neitzel/roleplay/common: shared utilitiessrc/main/java/de/neitzel/roleplay/data: data accesssrc/main/java/de/neitzel/roleplay/fascade: external facadessrc/main/resources/db/migration: Liquibase changelog location
Login
The app requires authentication. A default admin user is seeded on first run:
- Username:
admin - Password:
changeme
Change the password after first login (e.g. by creating a new admin user and retiring the default, or via a future password-change feature). Only users with the admin role can create new users (POST /api/v1/admin/users).
Build and test
mvn test
Description
Languages
Java
58.3%
TypeScript
30.9%
Mustache
10.6%
HTML
0.2%