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.
This project was built during a live stream on Fernanda Kipper's channel..
- Clone the repository:
git clone https://github.com/ThiagoCrepequer/crud-spring
- 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 / - Retrieve a list of all data.
POST / - Register a new data.
PUT / - Alter data.
DELETE / - Delete data.
The project utilizes PostgresSQL as the database. The necessary database migrations are managed using Flyway.
To [install PostgresSQL])(https://www.postgresql.org/download/) you can install here.