Skip to content

nico-ortiz/tienda-spring

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spring Boot CRUD Application

Requirements

For building and running the application you need:

  • Java Version 17.0+
  • Maven 3

Configuration

Lets first create a database in PostgreSQL server using the below command:

create database <database_name>;

We need to configure URL, username and password so that Spring can establish a connection with the database on startup. Add the above properties in application.properties file. (Modify <...> properties)

spring.datasource.url=jdbc:postgresql://localhost:<port>/<database_name>
spring.datasource.username = <USERNAME>
spring.datasource.password = <PASSWORD>

How to run

Run command:

./mvnw spring-boot:run

Run tests:

./mvnw test

To run especific test:

./mvnw test -Dtest="<test class name>"

UML Diagram

API Documentation

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages