Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
{
}

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
35 changes: 15 additions & 20 deletions backend/TMSFullstackProject/pom.xml → backend/TMSProject/pom.xml
Original file line number Diff line number Diff line change
@@ -1,24 +1,26 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.7.3</version>
<relativePath /> <!-- lookup parent from repository -->
</parent>
<groupId>br.com.teamroxo.entra21</groupId>
<artifactId>TMSFullstackProject</artifactId>
<groupId>br.com.entra21.team-roxo</groupId>
<artifactId>TMSProject</artifactId>
<version>0.0.1-SNAPSHOT</version>
<name>TMSFullstackProject</name>
<description>Projeto Final do Curso Entra21</description>
<name>TMSProject</name>
<description>Projeto Final do Entra21</description>
<properties>
<java.version>18</java.version>
<java.version>17</java.version>
</properties>
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-jpa</artifactId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>

<dependency>
Expand All @@ -28,8 +30,8 @@
<optional>true</optional>
</dependency>
<dependency>
<groupId>com.h2database</groupId>
<artifactId>h2</artifactId>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<scope>runtime</scope>
</dependency>
<dependency>
Expand All @@ -38,8 +40,9 @@
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>2.13.3</version>
</dependency>
</dependencies>

Expand All @@ -48,16 +51,8 @@
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<excludes>
<exclude>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
</exclude>
</excludes>
</configuration>
</plugin>
</plugins>
</build>

</project>
</project>
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
package br.com.entra21.teamroxo.TMSProject;

import java.util.ArrayList;

import org.springframework.boot.CommandLineRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

import br.com.entra21.teamroxo.TMSProject.template.Pessoa;

@SpringBootApplication
public class TmsProjectApplication implements CommandLineRunner {

public static ArrayList<Pessoa> pessoas=new ArrayList();

public static void main(String[] args) {
SpringApplication.run(TmsProjectApplication.class, args);
}

@Override
public void run(String... args) throws Exception {

pessoas.add(new Pessoa("Kalil", "kjfakhouri@gmail.com", (byte) 21));
pessoas.add(new Pessoa("Kalil", "kjfakhouri@gmail.com", (byte) 21));
pessoas.add(new Pessoa("Kalil", "kjfakhouri@gmail.com", (byte) 21));
pessoas.add(new Pessoa("Kalil", "kjfakhouri@gmail.com", (byte) 21));
pessoas.add(new Pessoa("Kalil", "kjfakhouri@gmail.com", (byte) 21));

}

}
Loading