Skip to content

Spring Boot CRUD Template (Java 23) πŸš€ A simple Spring Boot CRUD template for rapid development. Includes: βœ… Java 23 & Spring Boot βœ… Spring Data JPA & MySQL βœ… RESTful API with CRUD operations βœ… GitHub Codespaces support βœ… Pre-configured for cloud databases Open in Codespaces and start coding instantly!

Notifications You must be signed in to change notification settings

FuzzT/springboot-crud-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

5 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Spring Boot CRUD Template (Java 23) πŸš€

This is a Spring Boot CRUD project template designed for rapid development and practice.
It supports Java 23 and is fully compatible with GitHub Codespaces, allowing you to build and run Spring Boot apps without local setup.

Features

βœ… Spring Boot (Java 23)
βœ… RESTful CRUD APIs
βœ… Spring Data JPA & MySQL
βœ… Pre-configured application.properties
βœ… Cloud database support (PlanetScale, Neon, etc.)
βœ… Ready to use in GitHub Codespaces

πŸ›  Setup Instructions (GitHub Codespaces)

  1. Fork this repository to your GitHub account.
  2. Click the Code button and select Open with Codespaces.
  3. Wait for the environment to set up.
  4. Run the application using:
    ./mvnw spring-boot:run

The app will be available at:- http://localhost:8080

πŸ“Œ API Endpoints

Method Endpoint Description
GET /items Get all items
GET /items/{id} Get item by ID
POST /items Create new item
PUT /items/{id} Update item by ID
DELETE /items/{id} Delete item by ID

πŸ“„ Environment Variables (For Cloud Databases)

Edit src/main/resources/application.properties to use a cloud database:

spring.datasource.url=jdbc:mysql://your-cloud-db-url:3306/yourdb
spring.datasource.username=your-username
spring.datasource.password=your-password

About

Spring Boot CRUD Template (Java 23) πŸš€ A simple Spring Boot CRUD template for rapid development. Includes: βœ… Java 23 & Spring Boot βœ… Spring Data JPA & MySQL βœ… RESTful API with CRUD operations βœ… GitHub Codespaces support βœ… Pre-configured for cloud databases Open in Codespaces and start coding instantly!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published