/crud-spring

Primeiro CRUD com Java, utilizando Framework de Spring

Primary LanguageJava

Simple CRUD

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 build during a live in Youtube Channel.

Table of Contents

Installation

  1. Clone the repository:
git clone https://github.com/Fernanda-Kipper/live-crud-java-spring.git
  1. Install dependencies with Maven

Usage

  1. Start the application with Maven
  2. The API will be accessible at http://localhost:8080

API Endpoints

The API provides the following endpoints:

GET / - Retrieve a list of all data.

POST / - Register a new data.

PUT / - Alter data.

DELETE / - Delete data.

Database

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.