This repository contains a simple CRUD project built using Java Spring. The aim of this repository is to practice and share how you can build all CRUD Methods using Java Spring.
- Clone the repository:
https://github.com/MarcelSecco1/CRUD-SpringBoot.git
- Install dependencies with Maven
- Start the application with Maven
- The API will be accessible at http://localhost:8080
The API provides the following endpoints:
GET /product - Retrieve a list of all data.
POST /product - Register a new data.
PUT /product - Alter data.
DELETE /product/{id} - Inactivate data.
The project uses MySQL as the database. The necessary database migrations are managed using Flyway.