A basic task management application built with Java Spring Boot (backend) and vanilla JavaScript (frontend), created in 20 minutes to demonstrate Spring capabilities.
- Java 17+
- Maven 3.6.3+
- Modern web browser
- (Optional) IDE (IntelliJ, Eclipse, VS Code)
-
Clone the repository
git clone https://gitlab.com/MNov34/20MinimaList.git
-
Run the application
mvn spring-boot:run
-
Access the application
- Frontend: http://localhost:8080
-
Access the H2 console at:
http://localhost:8080/h2-console -
Connection settings:
- JDBC URL:
jdbc:h2:mem:minimalist - User Name:
sa - Password: (leave empty)
- JDBC URL:
π Project Root
βββ π src/main
β β
β βββ π java
β β β
β β βββ π com/mnrov34/minimalist
β β β
β β βββ π controller # Spring MVC Controllers
β β β βββ TaskController.java # REST API Endpoints (CRUD for tasks)
β β β
β β βββ π model # Spring MVC Domain models
β β β βββ Task.java # JPA Entity (DB mapping)
β β β
β β βββ π repository # Spring MVC Controllers
β β βββ TaskRepository.java # Spring JPA interface for CRUD operations
β β
β βββ π resources
β β
β βββ π static # Where you put Static web content (served automatically by Spring boot)
β β βββ index.html # Entry point (also the whole app :] )
β β
β βββ application.properties # Spring config. Here, DB and app name.
β
βββ π pom.xml # Maven project config.
- Create tasks with descriptions
- Toggle completion status
- Delete tasks
- In-memory H2 database
- RESTful API endpoints
- Spring Boot setup
- JPA/Hibernate integration
- REST controller implementation
- Spring Data JPA usage
- Basic frontend/backend interaction

