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