Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

20MinimaList - Java Spring Demo

A basic task management application built with Java Spring Boot (backend) and vanilla JavaScript (frontend), created in 20 minutes to demonstrate Spring capabilities.

app.png

📋 Requirements

  • Java 17+
  • Maven 3.6.3+
  • Modern web browser
  • (Optional) IDE (IntelliJ, Eclipse, VS Code)

🚀 Quick Start

  1. Clone the repository

    git clone https://gitlab.com/MNov34/20MinimaList.git
  2. Run the application

    mvn spring-boot:run
  3. Access the application

🛠 H2 Database Console

  1. Access the H2 console at:
    http://localhost:8080/h2-console

  2. Connection settings:

    • JDBC URL: jdbc:h2:mem:minimalist
    • User Name: sa
    • Password: (leave empty)

H2 Console Connection Example

🧠 Project Structure

📁 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.

💡 Features

  • Create tasks with descriptions
  • Toggle completion status
  • Delete tasks
  • In-memory H2 database
  • RESTful API endpoints

📝 This is a minimal demonstration project showing:

  • Spring Boot setup
  • JPA/Hibernate integration
  • REST controller implementation
  • Spring Data JPA usage
  • Basic frontend/backend interaction

Created in 20 minutes to showcase Java Spring fundamentals.

Yes, It took more time for the README than the "app" itself...

About

A basic task management application built with Java Spring Boot (backend) and vanilla JavaScript (frontend), created in 20 minutes to demonstrate Spring capabilities.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Used by

Contributors

Languages