A Spring Boot application for event planning and management.
-
Create a
.envfile in the root directory based on theenv/env-examplefile:# Database Configuration DB_USERNAME=sa DB_PASSWORD= -
The application uses H2 database (file-based) that stores data in the
./datadirectory.
-
Build the application:
./gradlew build -
Run the application:
./gradlew bootRun -
Access the application at: http://localhost:8080
-
Access the H2 Console at: http://localhost:8080/h2-console
- JDBC URL: jdbc:h2:file:./data/event_planner
- Username: sa (or value from .env)
- Password: (value from .env)
This application has been updated to use:
- H2 Database (file-based) for local storage instead of MySQL
- Environment variables through .env file for configuration
These changes allow for easier local development without requiring a MySQL server while maintaining the same model functionality.