Closed victorhfsilva closed 10 months ago
npm create vite@latest scrum-tracker-ui cd scrum-tracker-ui npm install
npm i styled-components npm i @types/styled-components -D
npm install --save-dev jest npm install i --save-dev @types/jest npm install --save-dev @testing-library/react @testing-library/jest-dom
O projeto foi inicializado utilizando o Spring Initializr com o seguinte build.gradle:
plugins { id 'java' id 'org.springframework.boot' version '3.1.5' id 'io.spring.dependency-management' version '1.1.3' } group = 'com.db' version = '0.0.1-SNAPSHOT' java { sourceCompatibility = '17' } repositories { mavenCentral() } dependencies { implementation 'org.springframework.boot:spring-boot-starter-actuator' implementation 'org.springframework.boot:spring-boot-starter-data-jpa' implementation 'org.springframework.boot:spring-boot-starter-security' implementation 'org.springframework.boot:spring-boot-starter-web' developmentOnly 'org.springframework.boot:spring-boot-devtools' runtimeOnly 'org.postgresql:postgresql' testImplementation 'org.springframework.boot:spring-boot-starter-test' testImplementation 'org.springframework.security:spring-security-test' } tasks.named('test') { useJUnitPlatform() }
spring.datasource.url=jdbc:postgresql://localhost:5432/scrum-tracker spring.datasource.driverClassName=org.postgresql.Driver spring.datasource.username=<username> spring.datasource.password=<senha> spring.jpa.hibernate.ddl-auto=update spring.jpa.show-sql=true spring.jpa.properties.hibernate.format_sql=true logging.level.org.springframework.security=DEBUG logging.level.org.springframework.data=DEBUG logging.level.org.hibernate.SQL=DEBUG
spring.datasource.url=jdbc:postgresql://localhost:5432/scrum-tracker-test spring.datasource.driverClassName=org.postgresql.Driver spring.datasource.username=postgres spring.datasource.password=postgres spring.jpa.hibernate.ddl-auto=update spring.jpa.show-sql=true spring.jpa.properties.hibernate.format_sql=true logging.level.org.springframework.security=DEBUG logging.level.org.springframework.data=DEBUG logging.level.org.hibernate.SQL=DEBUG
Inicialização do Front End
Importação do Styled Components
Importação das ferramentas de Testes
Inicialização do Back End
O projeto foi inicializado utilizando o Spring Initializr com o seguinte build.gradle:
O banco de dados PostgreSQL foi configurado através dos seguintes application.properties: